daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #~/bin/bash
  2. # usage:
  3. #   ./hash_finder.sh <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
 
Top