Your Ad Here

Combining Files With Cat

Written by Matt on March 14, 2008 – 7:05 pm -

Cat is one of the wonderful programs that makes Linux awesome. Imagine you have multiple files you would like to combine. Cat lets you do this. I’ve recently been using it for MP3’s. First use a tool such as EasyTag to remove ALL ID3 tags from the MP3’s first. As long as there are not tags in the MP3’s, this will work perfect. After combining, you can then add whatever tags you would like. Then simply run a command such as this:

cat ./Music/Artist/*.mp3 ./Desktop/Output.mp3

Not only can Cat combine MP3’s, it combines ANY file you throw at it. Not that these files will always work, but it will combine them. As long as you follow the following format, it’ll combine them.

cat /path/to/1stfile /path/to/2ndfile /path/to/outputfile

Posted in Usability Tips |
View blog reactions

One Comment to “Combining Files With Cat”

  1. Linux Guy Says:

    I don’t think the ampersands are necessary.

Leave a Comment



    March 2008
    S M T W T F S
    « Feb   Apr »