[NTLUG:Discuss] tar with -N option still picking up old files

Neil Aggarwal neil at JAMMConsulting.com
Thu Mar 26 14:15:51 CDT 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 20090325 -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.

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 Discuss mailing list