I'm trying to create a tar archive of a folder
thisfolder but want to omit a sub-folder named
notthisfolder. Can someone show me how to do this? I've tried to tar'ing the entire folder and removing the one I want to omit but that particular folder is 17gb.
\thisfolder file1 file2 \notthisfolder omitfile1 omitfile2 \butincludethisfolder includefile1 infludefile2
I was using
tar --exclude='notthisfolder' -zcvpf archive.tar /thisfolder/