On my server some people do have .htaccess files in their public_html folders, others don't. I wish to generate a list of all users who do NOT have .htaccess file there.
So I am looking for list of all <username> in /home/<username>/domains/<domain>/public_html/ which do NOT have /home/<username>/domains/<domain>/public_html/.htaccess file...
Any bash/sh guru out there who wish to give me a hand with this? Currently I am doing it the hard way... and yeah, I don't like it
My sh script efforts to do the above are a total failure so far.
So I am looking for list of all <username> in /home/<username>/domains/<domain>/public_html/ which do NOT have /home/<username>/domains/<domain>/public_html/.htaccess file...
Any bash/sh guru out there who wish to give me a hand with this? Currently I am doing it the hard way... and yeah, I don't like it