[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] another tar question
- Subject: RE: [cobalt-users] another tar question
- From: "FantasticMoms.com" <admin@xxxxxxxxxxxxxxxxx>
- Date: Sat Mar 27 08:53:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
> -----Original Message-----
> Every morning I run this in my crontab :
>
> tar -czpvf /home/sites/www.mydomain.com/web/tars/weblog.tar
> /home/sites/www*/logs/web.log
>
> However, the above command seems to make a tar within a tar. When I open
up
> weblog.tar with winrar I see a compressed archive named "weblog". When I
> double click on "weblog" another winrar window opens which contains /home
> and all the nice little log folders below.
>
> _____________________________________
>
>
> -c = create
> -z = gunzip
> -p = keep permissions
> -v = verbose
> -f = file
>
> So, after it is .tar, then it is passed through gunzip ... "-z". So, it
> is tar with-in a gunzip'd file.
>
> Make sense?
Thank you Brian. So if I am understanding correctly (which I am not
entirely sure I am) I should remove the -z ?