On Thu, 3 Jan 2002, Jon Doe 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 > > Is this normal or am I doing something wrong? > > > 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 :) -- . --- .----. |o_o | /_ 0 | |:_/ | Give Micro$oft the Bird!!!! \_ | // \ \ Use Linux!!!! / \ (| | ) | ) | | | /'\_ _/`\ | ) | | | \___)=(___/ |_) (_) | Chad Young \______/ Registered Linux User #195191 (_______| @ http://counter.li.org ----------------------------------------------------------------------- Linux localhost 2.4.18pre1 #2 Fri Dec 28 14:41:58 AST 2001 i686 unknown 1:35am up 6:30, 4 users, load average: 0.00, 0.00, 0.00
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com