I need to get binary files into text format. Years ago, I used uuencode/uudecode, and it was easy:
uuencode file.xls > file.txt # Delete file.xls # Do whatever with file.txt # Now I need file.xls back uudecode file.txt > file.xls
But uuencode/uudecode is not on my system, and as I look around, the yum/rpm process is ugly--this gives me the clue that maybe no one uses it any more and instead there is something more modern to do this.
I looked at xxd and hexdump but couldn't get them to do it. Could just be dumb user issues.
What can I use on Linux to do this? Would like it to be something that tends to be in the native install so I don't need to yum/rpm it if possible.
Just for your own understanding, what I'm specifically trying to do now is source control an *.xls file but the corporate tool doesn't allow *.xls in. I respect that constraint normally, but in my context, an *.xls is a configuration table for my code so It is logically like source code, but the corporate SVN trigger is physical--if it's *.xls, it gets rejected, so I'll encode it and source control the *.txt file.