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?

Thanks in advance,

~ Matthew



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to