[Techtalk] file creation date

Miriam English mim at miriam-english.org
Sat Apr 7 22:36:32 UTC 2012


Interesting to know the debugfs command doesn't work that way on Debian 
Wheezy, but that stat -c "%w" does. Excellent. Thank you.

Alison Chaiken wrote:
> debugfs -R 'stat /stuff/subdir/blah.txt' /dev/sdf1
>
> Sounds cool, but I on Debian Wheezy I see
>
> $FILE: File not found by ext2_lookup
>
> every time.      All my file systems are ext4, too.    'stat $FILE' OTOH
> works fine:
>
> [alison at bonnet AutoSeminar (master)]$ stat -c "%x"
> /vol/mp3/downloads/now_more.mp3
> 2012-04-06 16:09:07.976677544 -0700
>
> Note that %w and %W formats output file creation.



-- 
If you don't have any failures then you're not trying hard enough.
  - Dr. Charles Elachi, director of NASA's Jet Propulsion Laboratory
-----
Website: http://miriam-english.org
Blogs:   http://miriam-e.dreamwidth.org
          http://miriam-e.livejournal.com


More information about the Techtalk mailing list