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

RE: [cobalt-users] another tar question



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