Skip to content

Instantly share code, notes, and snippets.

@parthaa
Created September 30, 2016 20:57
Show Gist options
  • Save parthaa/d6175bf9b065e9a4767aec13608baa0c to your computer and use it in GitHub Desktop.
Save parthaa/d6175bf9b065e9a4767aec13608baa0c to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
for file in $@
do
echo $file,`sha256sum $file | awk '{ print $1 }'`,`stat -c '%s' $file`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment