Skip to content

Instantly share code, notes, and snippets.

@fabriceleal
Created June 11, 2013 08:16
Show Gist options
  • Save fabriceleal/5755234 to your computer and use it in GitHub Desktop.
Save fabriceleal/5755234 to your computer and use it in GitHub Desktop.
How to recursively find and list the latest modified files in a directory with subdirectories and times?
# From http://stackoverflow.com/a/7448828/1647507
find . -type f -exec stat --format '%Y :%y %n' {} \; | sort -nr | cut -d: -f2- | head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment