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--
Or even more simply
base64 -di foo.zip > foo2.zip