Post A5gt7fneoPyhxFLrxw by ghjardim@linuxrocks.online
(DIR) More posts by ghjardim@linuxrocks.online
(DIR) Post #A5gt7fneoPyhxFLrxw by ghjardim@linuxrocks.online
2021-03-28T21:55:20Z
0 likes, 0 repeats
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
(DIR) Post #A5gt7gFJ9c61L0Hx44 by malin@linuxrocks.online
2021-03-29T04:20:09Z
0 likes, 0 repeats
@ghjardim basename file -s jpg