Skip to content

Instantly share code, notes, and snippets.

@paulfairless
Created March 9, 2015 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulfairless/a3f4f472ea7059e4d97d to your computer and use it in GitHub Desktop.
Save paulfairless/a3f4f472ea7059e4d97d to your computer and use it in GitHub Desktop.
Base64 encode a file
openssl base64 < <file> | tr -d '\n' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment