Created
January 24, 2012 15:26
-
-
Save shello/1670681 to your computer and use it in GitHub Desktop.
Write to a 'files.shasum' file the SHA Checksum of the regular files under the current directory (recursively), sorted alphabetically within each directory, while avoiding the output file.
This file contains 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
OUTFILE='files.shasum' find -s . -type f -not -samefile $OUTFILE -exec shasum {} \; > $OUTFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment