[CentOS] tar with -N option still picking up old files

Thu Mar 26 22:16:53 UTC 2009
Neil Aggarwal <neil at JAMMConsulting.com>


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.

Any ideas?


Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.