[Gllug] One liner challenge

rich at annexia.org rich at annexia.org
Thu Jan 30 09:58:33 UTC 2003


Always up for a challenge.

Caveat: this _won't_ work if files have spaces in them unfortunately 
(because of the awkward output of the 'stat' command).

find | xargs stat -t | awk '{print $1 " " $13}' | sort -k2 -nr

Rich.

-- 
Richard Jones, Red Hat Inc. (London, UK) http://www.redhat.com/software/ccm
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list