Created
December 1, 2013 03:45
-
-
Save dcramer/7728286 to your computer and use it in GitHub Desktop.
find oldest file in directory
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
find -type f -printf '%T+ %p\n' | sort -r | head -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment