Skip to content

Instantly share code, notes, and snippets.

@m3y54m
Created November 19, 2021 15:17
Show Gist options
  • Save m3y54m/1230025aeb782f93c8a4a62a15988287 to your computer and use it in GitHub Desktop.
Save m3y54m/1230025aeb782f93c8a4a62a15988287 to your computer and use it in GitHub Desktop.
Decode Multiple Files From Base64 (Bash Script)
#!/bin/bash
mkdir -p decode
for f in *.txt
do
base64 --decode "$f" > "decode/$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment