Am Sonntag, 5. August 2012 schrieb Sven Joachim: > 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: > > <snip> > > > >> > Given "find / -type f -printf '%TT %p\n'". > > > > <snip> > > > >> > 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.
ext3 has second resolution. XFS, BTRFS and Ext4 have higher resolutions. Example: martin@merkaba:~> LANG=C stat /etc/fstab File: `/etc/fstab' Size: 1733 Blocks: 8 IO Block: 4096 regular file Device: 10h/16d Inode: 2973 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2012-07-31 23:26:42.031002223 +0200 Modify: 2012-07-03 15:20:29.047930787 +0200 Change: 2012-07-03 15:20:29.048930791 +0200 Birth: - (on BTRFS.) -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201208061031.08434.mar...@lichtvoll.de