2 ms·
On mac others might want to: # filename - wherever you pasted the base64 string FILE=<filename> && base64 -D $FILE.txt >> $FILE.png && open $FILE.png
by 52-6F-62 8y ago
On mac others might want to:
# filename - wherever you pasted the base64 string
FILE=<filename> && base64 -D $FILE.txt >> $FILE.png && open $FILE.png
- Skunkleton 8y ago* don't do this w/ random stuff off the internet. That could have easily been something other than an image, and `open` will happily open whatever it was regardless of the extension.
- 52-6F-62 8y agoYou're 100% correct. I can't edit it now, but you're absolutely right. Horrible gaffe on my part.