Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How about this in OSX? echo "data:$(file -b --mime-type filename);base64,$(base64 filename)" | pbcopy

or for linux, your favorite variant of pbcopy using xsel or xcopy?

Not to say this isn't a great tool.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: