[CentOS] tar with -N option still picking up old files
John Doe
jdmls at yahoo.comFri Mar 27 10:52:31 UTC 2009
- Previous message: [CentOS] tar with -N option still picking up old files
- Next message: [CentOS] tar with -N option still picking up old files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> From: Akemi Yagi > > On Thu, Mar 26, 2009 at 3:16 PM, Neil Aggarwal wrote: > > > Hello: > > > > > > I tried this command to tar up a set of data files > > > updated since yesterday (The data directory contains > > > multiple files with varying dates): > > > > > > /bin/tar -z -c -N 2009-03-25 -f /tmp/test.tgz data > > > > > > When I look at the content of the test.tgz file, > > > it looks like it copied the content of the entire > > > directory, not just the newer files. > > > > > > I am on CentOS 5. > > > > Try --newer-mtime instead of -N. In my case (CentOS-4 backup > > machine), the -N option did not work as it's supposed to. Not sure > > about tar on CentOS-5 though. Forgot to add that I just tested -N, and it works for me (tar 1.15.1)... JD
- Previous message: [CentOS] tar with -N option still picking up old files
- Next message: [CentOS] tar with -N option still picking up old files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list