Trying to decode base64 file on GNU/Linux, I get \"base64: invalid input\".
$ base64 test.zip | base64 -d > test2.zip base64: invalid input $ ll test* -rw-r--
You can also try using
echo -n
to suppress new lines and padding the input length to a multiple of 4 with one to three equal characters
=