Created
August 19, 2020 00:56
-
-
Save allansrc/79f5af3dd4727f93f9ea88e861e4b149 to your computer and use it in GitHub Desktop.
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/bash | |
yourfilenames=`ls *.png` | |
for eachfile in $yourfilenames | |
do | |
echo $eachfile | |
test="$(cat $eachfile | base64)" | |
echo "BASE $eachfile" >> test64.txt | |
echo $test >> test64.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment