Changing binary file to readable text file

I have a program that creates a file that stores text like this:

application/octet-stream; charset=binary

now I need to convert this file to this:

text/plain; charset=us-ascii

I know this is possible because I use a simple windows program to make the conversion. I want to be able to make the conversion on the Linux command line.

6

1 Answer

use strings? Assuming there's plaintext in there somewhere, that will at least give you something to look at.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like