question about tar -N

NoOp glgxg at sbcglobal.net
Sun Aug 21 04:11:37 UTC 2011


On 08/20/2011 09:42 AM, R Kimber wrote:
> I'm puzzled by how tar -N option works.
> 
> I tried many date formats and eventually found one that tar seemed happy
> with, yet it didn't just archive the files that were newer than the
> given date but also included some older files.  I've tried -N, --newer, and
> --after-date.  The man page says that you can use a date or a
> filename, and I have tried both.
> 
> I'm trying to set up a system for archiving *.flac and other music files.
> When I run tar with a date option or a filename it seems to ignore *.jpg and
> *.pdf files that are older than the given date (as expected) but it
> includes some flac files in the tarball even though they are older than the
> date.
...
I'm not familiar with 'tar -N' either. But what I gather is that 'tar
-N' associated with the file modification date. Could this be what you
are running into?

Otherwise look at:
https://bugs.launchpad.net/ubuntu/+source/tar
and try asking on:
https://answers.launchpad.net/ubuntu/+source/tar







More information about the ubuntu-users mailing list