Re: find -printf ' %TT
On 2012-08-05 18:33 +0200, Mike McClain wrote:
> Thanks Sven.
> On Sun, Aug 05, 2012 at 08:33:54AM +0200, Sven Joachim wrote:
>> On 2012-08-05 07:57 +0200, Mike McClain wrote:
>> > Given "find / -type f -printf '%TT %p\n'".
>> > Is there a way to get back the hh:mm:ss output as it used to be short
>> > of piping the output through sed 's/.0000000000//'?
>> Use %.8TT instead.
> That's so obvious I'm embarrassed but I'll use it.
>> The sed command won't work anyway if the filesystem
>> supports high resolution timestamps.
> I can't see that, how is the filesystem support going to affect sed?
The numbers after the seconds won't be all zeros then.