question about tar -N
sktsee
sktseer at gmail.com
Sun Aug 21 15:28:02 UTC 2011
On 08/20/2011 11:42 AM, R Kimber wrote:
[snip]
>
> One command I tried was:-
> tar --newer=./newones.txt --exclude-from="exclude.tar" -vcf
> test.tar /media/audio/*
>
> This dumped
> 2011-02-06
> 12:47 /media/audio/16bit/beethoven/diabelli/331369-66763-01-20.flac
> but not
> 2011-08-10 12:37 /media/audio/16bit/saint_saens/saint_saens.flac
> which it reported as unchanged.
> Surely they should both have been reported as unchanged?
>
> newones.txt is dated 2011-08-18 00:00
>
> Any help would be appreciated.
>
> - Richard
What are the ctimes for those files?
Use "stat" or "ls -l --time=status" I think that tar compares ctime
rather than mtime here.
--
sktsee
More information about the ubuntu-users
mailing list