I'm trying to zip the contents of a site using
tar and exclude a bunch of folders and
error_log files but it doesn't seem to be working, when it's processing I still see many of the excluded files being processed.
I am in the root of the site and I am trying to
tar everything inside of
Here is the command I am running:
tar -zcvf files-live.tgz public_html/ --exclude='public_html/cache' --exclude='public_html/uplimg' --exclude='public_html/images/listings' exclude='public_html/sets' exclude='public_html/manage' exclude='error_log'
error_log exists in several directories but I don't want any of them included.
What am I doing wrong here?