Fli
07-26-2022, 01:24 PM
This worked to output most recent/newest files in a current directory and its sub-directories.
ls -Rxtr -1|tail
-R is for recursive
-x list by lines, not columns
-t is sort by time
-r is to revert order (default is to show newest on the top, but if output is long, i prefer newest on the bottom)
ls -Rxtr -1|tail
-R is for recursive
-x list by lines, not columns
-t is sort by time
-r is to revert order (default is to show newest on the top, but if output is long, i prefer newest on the bottom)