Created
August 15, 2019 20:17
-
-
Save gregjhogan/eeb8e1ce01a185a796ff5cb5b3a44b6f to your computer and use it in GitHub Desktop.
base64 decode file names in directory that have base64 encoded names
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
find <dir> -type f | xargs -L 1 -I {} basename {} | xargs -L 1 -I {} printf "{}\nCg==" | base64 -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment