开发者

Sending multiple mp3's to SOX

开发者 https://www.devze.com 2023-01-22 21:54 出处:网络
Hi I am am wanting to send many different mp3\'s like an array to SOX for example sox 1.mp3 2.mp3 N.mp3 out.mp3

Hi I am am wanting to send many different mp3's like an array to SOX for example

sox 1.mp3 2.mp3 N.mp3 out.mp3

sox num1.mp3 num2.mp3 numN.mp3 out2.mp3

sox n1.mp3 n2.mp3 nN.mp3 out3.mp3

How could I send all those at one time?Or Can I 开发者_如何学Cnot do that?


If you are using bash:

for f in *.mp3; { sox $f out$f; }


For a short list:

sox {1,2,N}.mp3 out.mp3
sox num{1,2,N}.mp3 out2.mp3
sox n{1,2,N}.mp3 out3.mp3

For a range:

sox File{1..42}.mp3 out4.mp3
0

精彩评论

暂无评论...
验证码 换一张
取 消