On 10/26/02 16:47 -0400, MET wrote: > I have a folder called 'webroot'. Inside of webroot I have 2 dozen > folders and some more files. Simple layout, nothing fancy. I'd like to > archive and compress them all using a shell script which of course would > be run through the cron daemon. I compress as so: > > tar zcvf webroot.tar.gz webroot > > That begins to work fine until it hits the 'stats' folder inside of > webroot because there is a script my host is providing that runs 24/7 > which generates errors on the 'tar' command and errors out. So how > would I go about excluding the 'stats' folder from the command? Do tar --exclude=/path/to/stats zcvf webroot.tar.gz webroot
This is in the tar info file, but not in the man page, IIRC. John -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list