Created
May 29, 2019 01:36
-
-
Save jkeam/59dc152fb71ff63234ba756b297e0d5c to your computer and use it in GitHub Desktop.
Encode a file into a base 64 format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# -A doesn't print out newlines and entire file will be on a single line. | |
openssl base64 -A -in ./input_file -out ./output_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment