-
-
Save nascimento/fde0dfbcd8f3ac4f3c15 to your computer and use it in GitHub Desktop.
Calculate checksum for Chef's resource - https://coderwall.com/p/bbfjrw/calculate-checksum-for-chef-s-remote_file-resource
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command | |
shasum -a 256 /path/to/file | cut -c-12 | |
# Example: | |
> shasum -a 256 ~/Desktop/Python-3.4.0.tgz | cut -c-12 (master⚡) | |
d2c83ea02177 | |
# learned in: https://coderwall.com/p/bbfjrw/calculate-checksum-for-chef-s-remote_file-resource |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment