Quantcast
Viewing all articles
Browse latest Browse all 2

Script to convert many binary files to ASCII

I'd like to run a script, say convert.py (which converts binary to ascii, but outputs to stdout) on 30 or so *.gz files, but instead of output going to screen, it goes to a *.txt file, similar to so:

convert.py jonny.gz > jonny.txt

How would I do it with a for loop or find command?


Viewing all articles
Browse latest Browse all 2

Trending Articles