Today I've created my first for loop on bash! I've always wanted to do it:
for f in $(ls); do convert $f $f.jpg; done;

Now, the next step is to actually remove the old extension from the file, as this command converts file.svg to file.svg.jpg, and I want file.jpg

Sign in to participate in the conversation

Linux geeks doing what Linux geeks do...