Skip to content

Instantly share code, notes, and snippets.

@briandoll
Created May 6, 2010 19:15
Show Gist options
  • Save briandoll/392583 to your computer and use it in GitHub Desktop.
Save briandoll/392583 to your computer and use it in GitHub Desktop.
# in a large directory of pdf files
time find . -name "*.pdf" -exec md5 {} \;
...
real 0m4.773s
user 0m1.389s
sys 0m0.934s
time find . -name "*.pdf" | xargs md5
...
real 0m1.624s
user 0m1.021s
sys 0m0.579s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment