Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Jun 14th, 2018 54 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. #~/bin/bash
  2. # usage:
  3. #   ./ <hash_file> <location>
  4. # Finds all files in a given location whose hashes appear in an a given file
  5. find "$2" -type f -print0 | xargs -0 sha1sum | grep -e "`sed 's/^/^/' $1`"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand