Skip to content

Instantly share code, notes, and snippets.

@GuyPaddock
Created June 12, 2021 02:43
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 GuyPaddock/cec969fc3f386736fa88977dff0e8590 to your computer and use it in GitHub Desktop.
Save GuyPaddock/cec969fc3f386736fa88977dff0e8590 to your computer and use it in GitHub Desktop.
Synology Encryption Key(s) to Base64-Encoded FIles
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