Created
May 25, 2012 13:33
-
-
Save tdl/2788196 to your computer and use it in GitHub Desktop.
Base64-decode a dir of soap XMLs containing the data in <in1></in1> tags
This file contains hidden or 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
for f in *.xml; do grep "<in1>" $f | cut -d">" -f2- | cut -d"<" -f1 | base64 -d | iconv -f UTF-16LE -t UTF-8 > decoded-$f ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment