Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我想向 SOX 发送许多不同的 mp3,例如数组
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
我怎么能一次发送所有这些?或者我不能这样做吗?
如果您使用 bash:
for f in *.mp3; { sox $f out$f; }
对于一个简短的列表:
sox {1,2,N}.mp3 out.mp3 sox num{1,2,N}.mp3 out2.mp3 sox n{1,2,N}.mp3 out3.mp3
对于一个范围:
sox File{1..42}.mp3 out4.mp3