commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
List files and pass to openssl to calculate the hash for each file.
There are 4 alternatives - vote for the best!
All output is placed in file SHA1SUMS which you can later check with 'sha1sum --check'. Works on most Linux distros where 'sha1sum' is installed.
Alternative command for performing an sha1 hash for a given set of files matched by a wildcard
If you can do better, submit your command here.
You must be signed in to comment.