I need to convert a bunch of
.rgb files into
.pngs (each file should retain its original name).
I want to find out how to convert the first file and then wrap the command in a 'for' loop.
This is what i have so far:
find . -name "*.rgb" | sort | sed -n \1\p | xargs convert zzzzz.png
But this doens't work.
How can I make the
convert command to recognize the second argument