zarkanian to Bash@lemmy.mlEnglish · 4 days agobash tricksimagemessage-square37fedilinkarrow-up1409arrow-down12
arrow-up1407arrow-down1imagebash trickszarkanian to Bash@lemmy.mlEnglish · 4 days agomessage-square37fedilink
minus-squareGreat Blue Heron@lemmy.calinkfedilinkEnglisharrow-up9·edit-23 days agoconvert $i ${i%.*}.jpg NB: I’m no guru - I just googled “remove file extension in bash”.
minus-squareqqq@lemmy.worldlinkfedilinkEnglisharrow-up4·3 days agoShould also definitely be quoting both arguments
convert $i ${i%.*}.jpg
NB: I’m no guru - I just googled “remove file extension in bash”.
Should also definitely be quoting both arguments