Created
June 12, 2021 02:43
-
-
Save GuyPaddock/cec969fc3f386736fa88977dff0e8590 to your computer and use it in GitHub Desktop.
Synology Encryption Key(s) to Base64-Encoded FIles
This file contains 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
find . -name '*.key' | while read file; do | |
encoded=$(echo "${file}" | sed 's/\.key/\.b64/'); | |
base64 -w0 "${file}" >"${encoded}"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment