Last active
July 2, 2016 10:03
-
-
Save paulwellnerbou/98338bbd49094d798cf5339bad7426bc to your computer and use it in GitHub Desktop.
Decode encoded email HTML with using php-cli
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/sh | |
encoded=$1 | |
decoded="${1}.decoded.html" | |
php -r 'echo quoted_printable_decode(file_get_contents("'$encoded'"));' > $decoded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment