Skip to content

Instantly share code, notes, and snippets.

@johnjreiser
Created March 5, 2016 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnjreiser/d75cde7ab000f009575a to your computer and use it in GitHub Desktop.
Save johnjreiser/d75cde7ab000f009575a to your computer and use it in GitHub Desktop.
####
# Stupid Shell Tricks
####
# find the largest files within a subdirectory (mac os x)
find . -type f -print0 | xargs -0 stat -f '%z %N' | sort -n | tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment