Excluding directories from ZIP and TAR archive
I’ve been using command line for zipping and ‘tarring’ for a while and never really needed to exclude directories from the archive. I had to do this today and I worked out that I had to use absolute paths to achieve this. The following examples will exclude multiple directories from tar and zip archives respectively: […]