Skip to content

Instantly share code, notes, and snippets.

@convenient
Last active September 27, 2016 19:56
Show Gist options
  • Save convenient/5113999404d320e15424 to your computer and use it in GitHub Desktop.
Save convenient/5113999404d320e15424 to your computer and use it in GitHub Desktop.
MD5 A directory
cd ~/path/to/folder/ && find . -name '*.php' | sort -d | xargs md5sum
#files with spaces
cd . && find . -name '*.mp3' | xargs -d '\n' md5sum | sort -k 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment