File name without extension in bash for loop

后端 未结 2 585
误落风尘
误落风尘 2021-01-30 01:04

In a for loop like this one:

for f in `ls *.avi`; do echo $f; ffmpeg -i $f $f.mp3; done

$f will be the complete filename, including the extensi

2条回答
提交回复
热议问题