If I have a directory named "foo" and foo has a directory "bar" I want to tar .czvf foo but exclude "bar" How would I do that? Thanks in advance!
cannot say why it's not working with you. You should post your command here. Another option: move "bar" folder out of "foo" folder, tar "foo", then move "bar" back
I gues I don't understand the syntax I am trying it with different variations of tar czvf foo.tar.gz --exclude-from=bar foo where foo is the directory and bar is a directory under foo
I got it.......... in case anyone else needs it: tar czvf foo.tar.gz foo --exclude "bar/dirs" Thanks!