-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 26 Oct 2002 16:47:19 -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?

$ man tar | less

Page down to the bottom.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9uwld0iMVcrivHFQRAsMTAKCGkEmkpzKtjkX1SKXxqre+WpSbIQCgg5F3
wX1/mOOAyMUsWkr9h1CYczs=
=uhfw
-----END PGP SIGNATURE-----



-- 
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