Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 419 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 419 Bytes

Base64 to Clipboard

sh base64_to_clipboard.sh [file] to encode the file and copy the output to the clipboard.

Simplify

  1. Drop base64_to_clipboard.sh in ~/.scripts.
  2. Add alias base="sh ~s/.scripts/base64_to_clipboard.sh" to your .bash_profile.
  3. base [file].

Thanks

Code stolen from Mathias Bynens.