Skip to content

Use the command line to copy the output of a Base64-encoded file to the clipboard.

Notifications You must be signed in to change notification settings

curtisblackwell/base64_to_clipboard_sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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.

About

Use the command line to copy the output of a Base64-encoded file to the clipboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages