[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] another tar question
- Subject: [cobalt-users] another tar question
- From: "FantasticMoms.com" <admin@xxxxxxxxxxxxxxxxx>
- Date: Wed Mar 24 10:51:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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
I then schedule an ftp proggie to download all the logfiles for my entire
RaQ4 in this handy little tar. It's usually about 16MB, as opposed to my
raw logfile daily download of 200-300MB, which I used to run every day.
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.
So why is it I need to do this twice? Did I incorrectly use a swicth in the
tar command? How can I make it so when I ftp download my weblog.tar and
open it up, it goes straight to "home" instead of having to unzip twice
(which seems to take an age, by the way)?