jeff on 12 Apr 2012 06:08:49 -0700


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

Re: [PLUG] Sort a file tree by last modified time


On 04/11/2012 10:43 PM, JP Vossen wrote:
Assuming GNU find, do it all in 'find' and 'sort' really easily.

find /path/to/files -printf '%TY-%Tm-%Td_%TH:%TM:%TS\t%y\t%s\t%p\n' |
sort -r

That gives you everything you want, very simply.

I'm almost embarrassed to ask, but is that sarcasm?



--
NEW home of ThermionicEmissions
http://leftystrat.blogspot.com
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug