Created
March 24, 2017 18:36
-
-
Save gkucmierz/e6a9331f38fa4d3aca23cd1516bcba77 to your computer and use it in GitHub Desktop.
serialize and deserialize any file in bash
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
| # serialize | |
| base64 source.txt | |
| #deserialize | |
| echo "VGVzdCA6KQo=" | base64 -d >> destination.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment