How to merge files in bash in alphabetical order

前端 未结 2 1746
借酒劲吻你
借酒劲吻你 2021-02-09 03:35

I need to merge a bunch of mp3 files together. I know that simply doing

cat file1.mp3 >> file2.mp3

seems to work fine (at least it plays

2条回答
  •  别那么骄傲
    2021-02-09 03:52

    try:

    ls | sort | xargs cat > merged.mp3
    

    (Anyway I'm not sure that you can merge mp3 files that way)

提交回复
热议问题