zarkanian@sh.itjust.works to Bash@lemmy.mlEnglish · 26 days agobash trickssh.itjust.worksimagemessage-square37fedilinkarrow-up1417
arrow-up1417imagebash trickssh.itjust.workszarkanian@sh.itjust.works to Bash@lemmy.mlEnglish · 26 days agomessage-square37fedilink
minus-squareGreat Blue Heron@lemmy.calinkfedilinkEnglisharrow-up9·edit-226 days agoconvert $i ${i%.*}.jpg NB: I’m no guru - I just googled “remove file extension in bash”.
minus-squareqqq@lemmy.worldlinkfedilinkEnglisharrow-up4·25 days agoShould also definitely be quoting both arguments
What’s a better way?
convert $i ${i%.*}.jpg
NB: I’m no guru - I just googled “remove file extension in bash”.
Should also definitely be quoting both arguments