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

Neil Aggarwal neil at JAMMConsulting.com
Thu Mar 26 23:16:53 UTC 2009


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.

Any ideas?

Thanks,
	Neil

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



More information about the CentOS mailing list