Can I exclude files in the directory "imagecache" but still make the directory a part of the TAR archive?
Certainly, just use --exclude for that purpose.
tar czf file.tar.gz --exclude '*/imagecache/*' files-or-directories-to-add
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago