base64 in.txt > out.b64Where in.txt is a file you want to encode (could be text, graphic anything) and out.b64 will be the result. This is easier than using uuencode.
Computer Tips - How do I encode a file as base64?
Date: 2011mar5 Level: beginner OS: Linux Q. How do I encode a file as base64? A. Use the base64 command like this: