Hi,
I have about 500 binary files. I have a command to convert these files to text. The command usage is:
converter bin-file txt-file
I have to input the name of the binary file and the name of the text file. I'm thinking something like this will work, but not really sure:
for file in *.bin
do
newfile="${file%.*}.txt"
convert "$file" "$newfile"
done
Will this work?