Changing Binary File to Readable Text File

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

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

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.