I am using tar to back up a directory in SCO Openserver 5. I want to exclude a directory in that directory. I don't want to back it up. How do I accomplish this using tar.
tar cvf /backup/tarfile /usr/test/ac
this backs up everthing in /usr/test/ac
I want to back up everything but a directory called mar in the "ac" directory.