jump to navigation

Sort recursively by date September 29, 2008

Posted by maxmil in : shell scripting , 1 comment so far

This little combination of commands sorts a list of files by descending date reading all the files recursively from the current folder
find . | xargs -i ls -l {} | sort -rk 6 | awk '$1 != "total" {print $0}'