[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: BSmith@xxxxxxxxxxx
- Date: Wed Mar 24 10:57: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?
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