Last active
February 3, 2016 20:03
-
-
Save adoc/8c117fb895c6dfdc962d to your computer and use it in GitHub Desktop.
hashdeept $@: Hashdeep and trim "##" and "%%%%" lines
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
#!/bin/bash | |
# /usr/local/sbin/hashdeept $@: Hashdeep and trim "##" and "%%%%" lines | |
# author: https://github.com/adoc | |
# link: https://gist.github.com/adoc/8c117fb895c6dfdc962d | |
# resources: | |
# http://unix.stackexchange.com/a/174720 | |
# deps: | |
# hashdeep (http://md5deep.sourceforge.net/) | |
# todo: | |
# check incoming ards for -l and -j?? | |
hashdeep -l -j 4 $@ | grep -E "^[^##][^%%%%]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment