quick create base64 from terminal ie. for dataURI/css
Sometimes you have a file and need a quick base64. ie. when creating css with images using dataURI.
From the terminal the quickest way is:
$ base64 /path/to/filename.png
or if you prefer, print all in one line:
$ base64 /path/to/filename.png -w 0
rgds
Hernan
Written by Hernan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Base64
Authors
Related Tags
#base64
#create base64
#create base64 terminal
#create base64 cli
#create base64 linux
#base64 generator
#base64 generator linux
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#