Skip to content

Instantly share code, notes, and snippets.

@jomix
Created January 5, 2020 03:58
Show Gist options
  • Save jomix/69cd18d0599476d3f8277b2e83238002 to your computer and use it in GitHub Desktop.
Save jomix/69cd18d0599476d3f8277b2e83238002 to your computer and use it in GitHub Desktop.
#md5 of last 100MB of all files in current directory
find ./ -type f -print0 -maxdepth 1 | xargs -0 -n1 -I{} sh -c "echo '{}' >> output.md5 && tail -c 100000000 '{}' | md5sum >> output.md5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment