Skip to content

Instantly share code, notes, and snippets.

@jagottsicher
Created October 10, 2019 06:12
Show Gist options
  • Save jagottsicher/269af3110a14f1ea33e941896e01c7a6 to your computer and use it in GitHub Desktop.
Save jagottsicher/269af3110a14f1ea33e941896e01c7a6 to your computer and use it in GitHub Desktop.
find recursive files by modify date and list with date and complete path
find $1 -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