Skip to content

Instantly share code, notes, and snippets.

@yuanmai
Created September 9, 2012 00:56
Show Gist options
  • Save yuanmai/3681734 to your computer and use it in GitHub Desktop.
Save yuanmai/3681734 to your computer and use it in GitHub Desktop.
sha1 a file
openssl sha1 ${FILE_PATH} | sed 's/SHA1(.*)= //'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment