[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tarring





hbrhodes wrote:
> i went to the website [http://www.linux.org] and looked up how to backup 
> my system, and i found on [http://www.tldp.org] the command below.  i 
> even reviewed the SILUG archives and found Doc's reply to my previous 
> TAR question, and i found lots of help and got my file working, however, 
> i have run into a problem.
> 
> i am tarring everything on the system ( excluded some files) and it 
> started including a directory i told it to exclude!  what gives (using 
> FC4)?
> 
> #!/bin/bash
> tar -zcvpf /BloomCounty/BillTCat/`date +'%Y-%m-%d'`_fc4backup.tar.gz --label="Fedora Core 4 Full Backup" /
> --exclude=mnt --exclude=proc  --exclude=var/spool/squid --exclude=/BloomCounty --exclude=*.iso --exclude=*.rpm
> 
> 

Shouldn't the line continuation character be "\" instead of "/"?

stan r.

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.