> echo "data:$(file -b --mime-type somefile);base64,$(base64 somefile)"
Also wanted an excuse to play with a few browser features :P.
or for linux, your favorite variant of pbcopy using xsel or xcopy?
Not to say this isn't a great tool.
Also wanted an excuse to play with a few browser features :P.