[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-tar] backup with tar, find
From: |
Ned2 |
Subject: |
Re: [Help-tar] backup with tar, find |
Date: |
Sun, 08 Apr 2007 09:34:44 -0000 |
OK let's put it this way,
I am getting two different archive sizes (same content of course!) using tar
czvvf and gzip!
The archive generated with gzip is considerably smaller than the one from
tar. Don't tar cz use gzip as well?
Ned
Ned2 wrote:
>
> Hi everybody!
> I am trying to back up some files (documents, pics) with tar.
> Using the following command I encountered two problems:
> 1- Why is the resulting tar file actually larger than the files
> themselves? (-z
> doesn't help much either)
> 2- Why despite using mtime or even ctime with find I still see almost(?)
> all files being included in the tar file?
>
> find /home/ -ctime -1 -print0 | xargs -0 tar -cvvzf mybackup.tar.gz
>
> Any help appreciated
> Ned
>
> tar (GNU tar) 1.16
>
--
View this message in context:
http://www.nabble.com/backup-with-tar%2C-find-tf3541150.html#a9890946
Sent from the Gnu - Tar - Help mailing list archive at Nabble.com.