On Fri, 4 Jan 2002 01:40:32 -0400 (AST), skidley <[EMAIL PROTECTED]> wrote:

>> I have this in a script:
>> 
>> OF=/home/jon/backup-$(date +%m%d%Y).tar.gz
>> tar -cZf $OF /home/jon/backups
>> 
>> and when I run it, it works but I get this:
>> 
>> tar: Removing leading `/' from member names
>> tar: Child returned status 2
>> tar: Error exit delayed from previous errors

To make it tar.gz you can use lowercase 'z'.
Paul

>If I am reading what you have there correctly I think you may need th -C
>option because your are tarring it to a /home/jon/backups( a different
>dir than /home/jon/. If I am not understanding what u are doing
>correctly disregard this :)


--
If you are afraid of being lonely, don't try to be right.
-Jules Renard

http://nlpagan.net - Registered Linux User 174403
Linux Mandrake 8.0 - Sylpheed 0.6.5 claws

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to