find . -name "*mp4"|grep mp4 > .0001 while read line do echo "$line"": copying -----" Vpath_name="$line" cp -rp "$line" . done < .0001 ls|grep mp4 > .0001 while read line do Vpath_name="$line" echo $Vpath_name" : transformation ------------" ffmpeg -i "$line" -vcodec copy -vn -y -acodec copy "$line".aac >> shuiyin.log.txt 2>&1 ffmpeg -i "$line".aac "$line".mp3 >> shuiyin.log.txt 2>&1 rm -rf "$line".aac rm -rf "$line" done < .0001
标签:转换,name,批量,aac,mp4,MP3,line,Vpath,0001 From: https://www.cnblogs.com/dbasupport/p/16888079.html