Skip to content

Instantly share code, notes, and snippets.

@stanwu
Created May 18, 2014 13:06
Show Gist options
  • Save stanwu/5cbac8a602a910259647 to your computer and use it in GitHub Desktop.
Save stanwu/5cbac8a602a910259647 to your computer and use it in GitHub Desktop.
ssl-test-split.sh
#!/bin/sh
if [ -z "$1" ]; then
echo "usage: $0 [folder]"
exit 1
fi
if [ -f "$1.tgz.ssl-aa" ]; then
cat $1.tgz.ssl-* | openssl enc -d -aes256 | tar tvzf -
echo "Ret=$?"
#[ $? == 0 ] && echo "$1 test OK!"
else
echo "$1 is not found!"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment