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

Brian Smith 
CCNA, NCSA, CCSP
Network Support Engineer
SOLUSERVE
       www.solunet.com
1571 Robert J. Conlan Blvd., Suite 110
Palm Bay, FL  32905
(888)449-5766
fax: (321)-676-1287