Created
October 27, 2014 16:47
-
-
Save dearaujoj/2f53b9e34869e9787b2c to your computer and use it in GitHub Desktop.
How to list files sorted by modification date recursively
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Change 1n,1 to 1nr,1 if you want the files listed most recent first. | |
find . -printf '%T@ %c %p\n' | sort -k 1n,1 -k 7 | cut -d' ' -f2- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment