[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: find -printf ' %TT

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?

Thanks again, that's the help I needed.
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Reply to: