[apache] Adding a user on .htpasswd

I am using .htpasswd to password protect certain directory on my server. However, I noticed that everytime I do this sudo htpasswd -c /etc/apache2/.htpasswd newuser my current contents of .htpasswd will be overwritten. Every directory of my site has their own user on .htpasswd.

How can I not overwrite instead add a new user on my .htpasswd?

This question is related to apache .htpasswd

The answer is


FWIW, htpasswd -n username will output the result directly to stdout, and avoid touching files altogether.