-anders[anders@localhost anders]$ perl -e 'for (`locate $ARGV[0]`) {\ chomp; $h{$_} = (stat $_)[9] \ }\ foreach $k ( sort {$h{$a} <=> $h{$b} } keys %h) {\ print scalar localtime $h{$k}, ": $k\n" }' filename Thu Jul 29 11:20:32 1999: /usr/lib/xemacs/xemacs-packages/lisp/apel/fi +lename.elc Wed Nov 3 12:52:33 1999: /usr/bin/getfilename Wed Nov 3 12:52:34 1999: /usr/man/man1/getfilename.1.bz2 Mon Dec 20 08:47:16 1999: /usr/man/mann/filename.n Mon Jan 3 20:57:21 2000: /usr/share/zsh/functions/Commands/_correct_f +ilename
In reply to RE: Find and check timestamps of files.
by anders
in thread Find and check timestamps of files.
by Malach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |