Thursday, April 30, 2015

Merging multiple files using the cat command


Nothing major today, this is a straightforward case that I was surprised would work with the Linux cat command.

I had a folder with several mp3's that were part of one long mixtape but were split into dozens of files, when they should have really been one big file.

I could have used a tool to fix this, but it can be accomplished natively using a Linux or Mac terminal.

First navigate to the folder where the files are located. If they are in numerical order, that's short and easy.

 cat *.mp3 > ../mylongsong.mp3

This combines all the files into one and dumps in one directory above to avoid an endless loop, depending on the shell you're using.


If the files have arbitrary names, but you can figure out the order, you can use a slightly longer command:

cat 1.mp3 2.mp3 a.mp3 myfav.mp3 wow.mp3 > ../mylongsong2.mp3

The caveat is that all the files need to be encoded the same way and be of the same filetype. It will not merge mp3 with wma, it will not merge a 320kbps mp3 with a 128kbps version.



87 comments:

  1. Creativity at its best, this is the only expression that I can share with you! I expect new topics in the fore coming installment of articles, good luck to you all.


    Regards,
    best essay writer

    ReplyDelete
  2. Hi dear, I like your post so much, and it is very good. Hope that we can communicate with each other. I want to introduce an aso services, I try it and I feel it is so good to us beginners.

    ReplyDelete
  3. AWS Training in Bangalore - Live Online & Classroom
    myTectra Amazon Web Services (AWS) certification training helps you to gain real time hands on experience on AWS. myTectra offers AWS training in Bangalore using classroom and AWS Online Training globally. AWS Training at myTectra delivered by the experienced professional who has atleast 4 years of relavent AWS experince and overall 8-15 years of IT experience. myTectra Offers AWS Training since 2013 and retained the positions of Top AWS Training Company in Bangalore and India.


    IOT Training in Bangalore - Live Online & Classroom
    IOT Training course observes iot as the platform for networking of different devices on the internet and their inter related communication. Reading data through the sensors and processing it with applications sitting in the cloud and thereafter passing the processed data to generate different kind of output is the motive of the complete curricula. Students are made to understand the type of input devices and communications among the devices in a wireless media.

    ReplyDelete
  4. Thanks for your informative article, Your post helped me to understand the future and career prospects & Keep on updating your blog with such awesome article.

    Data Science Training in Chennai
    Data science training in bangalore
    Data science online training
    Data science training in pune
    Data science training in kalyan nagar
    selenium training in chennai

    ReplyDelete
  5. I appreciate that you produced this wonderful article to help us get more knowledge about this topic. I know, it is not an easy task to write such a big article in one day, I've tried that and I've failed. But, here you are, trying the big task and finishing it off and getting good comments and ratings. That is one hell of a job done!
    Python training in marathahalli
    Python training in pune
    AWS Training in chennai

    ReplyDelete
  6. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
    Devops Training in Chennai
    Devops training in sholinganallur

    ReplyDelete
  7. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.
    Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies

    Selenium Training in Bangalore | Best Selenium Training in Bangalore

    ReplyDelete
  8. Hi,
    I must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge.
    Android Training in Chennai
    Android training
    Android training near me
    AWS Course in Chennai
    AWS Certification Training in Chennai
    AWS Training near me

    ReplyDelete
  9. You sit and think how to earn? Come to us and get your first win best online slots Play and always win.

    ReplyDelete
  10. Качественная лед лента разных цветов, герметичные и нет, я обычно беру в Экодио

    ReplyDelete
  11. This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us. I will follow all of them.
    angularjs online training

    apache spark online training

    informatica mdm online training

    devops online training

    aws online training

    ReplyDelete
  12. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
    Microsoft Azure online training
    Selenium online training
    Java online training
    Java Script online training
    Share Point online training

    ReplyDelete
  13. Awesome post, Great to Land here, Keep going, have a great Success!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    we are providing Elearning Company in Chennai since
    Digital Learning Solutions is a big boom to the Students and employee Engagement
    Mycoach Learning is the best certified Elearning Company, which offers
    Mycoach LMS

    ReplyDelete
  14. Wow! Really a nice blog. Thank you so much for your effort.

    Website Development Company in Delhi

    ReplyDelete
  15. Wonderful article… Thanks for sharing such useful article E Cigarette Australia

    ReplyDelete
  16. Are your preparing for government examination? Effective preparation is important to be successful, make use of our TNPSC Current affairs to prepare for your TNPSC & other government examination.

    ReplyDelete
  17. Good job! Fruitful article. I like this very much. It is very useful for my research. It shows your interest in this topic very well. I hope you will post some more information about the software. Please keep sharing!!
    Hadoop Training in Chennai
    Big Data Training in Chennai
    Devops Training in Chennai
    Digital Marketing Course in Chennai
    RPA Training in Chennai
    SEO Training in Chennai
    Hadoop Training in Tambaram
    Hadoop Training in Porur

    ReplyDelete
  18. Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
    python training in bangalore

    ReplyDelete
  19. Home Mart is a site about Home Improvement, Furniture, Home Appliances and many more. We are a bunch of passionate group of people who aim to serve you a convenient one-stop online shopping experience, for you to be able to sit at home worry-free and pick your favorite products with value.

    Check out the best
    furniture nz
    furniture sale
    Dog Cages
    bedroom furniture nz
    entertainment unit
    shoe rack

    ReplyDelete
  20. awesome blog it's very nice and useful i got many more information it's really nice i like your blog styleweb design company in velachery

    ReplyDelete
  21. I Got Job in my dream company with decent 12 Lacks Per Annum salary, I have learned this world most demanding course out there in the current IT Market from the python training in pune experts who helped me a lot to achieve my dreams comes true. Really worth trying.

    ReplyDelete
  22. I learned World's Trending Technology from certified experts for free of cost. I Got a job in decent Top MNC Company with handsome 14 LPA salary, I have learned the World's Trending Technology from Python Training in pune experts who know advanced concepts which can help to solve any type of Real-time issues in the field of Python. Really worth trying Freelance seo expert in bangalore

    ReplyDelete
  23. your post is really very interesting to read. I got Very valuable information from your blog.I’m satisfied with the information that you provide for me.Thanks for sharing it.

    Python Training in Pune

    ReplyDelete
  24. Very interesting information blog post, my favorite this post, thanks a lot for these amazing content.
    Assignment Help
    Online Assignment Help

    ReplyDelete
  25. Assignment Help is the best solution to fix the issues of assignment writing at affordable rates. Get your homework completed in one click. For more information, talk to our experts.

    ReplyDelete
  26. Nice Post! It helps me to know about Nepal Tour Package. It gives a lot of information to book the best Nepal tour packages. Thanks for sharing this blog!
    Nepal Tour Packages
    Nepal Tour Package
    Nepal Tourism Packages
    Nepal Tourist Packages
    Nepal Tour
    Most Beautiful Places In The World

    ReplyDelete
  27. Is your HP Printer showing HP Printer Not Printing Black issues? do not worry at this time HP Printer tech executive reachable all day and night to determine customer’s queries. Whenever you encounter any issue related to HP printer whether it’s a major or minor one, you can make contact with me and we both will resolve queries within a short time

    ReplyDelete
  28. I am Here to Get Learn Good Stuff About Selenium Training, Thanks For Sharing Selenium Training.Selenium training in bangalore

    ReplyDelete
  29. If you want to check the live train status updates get from live train info site

    ReplyDelete
  30. Nice Post..
    Are you feeling some interference in all HP brand related product? Well, you cannot skip the direct utilization of this as the business productivity can hinder a lot. According to static data analysis, it is found that HP printer and HP laptop become the prime choice of many customers. Purchasing of this white good takes place due to taking printing copies of all stored electronic data. Sometimes, careless operation of this device drags user on verge of some professional loss. Whenever you trap in actionable operation irritating effect in Hp device, you do not need to forget to reach on navigational link of www.support.hp.com. One should not think anymore and take the soon association of our technical team. In this way, you are not further enforced to bear unexpected outcome. For knowing more information, you can surf our web portal.

    ReplyDelete
  31. norton.com/setup - Norton security program can secure either one device or up to ten devices and keep the whole network safe from malware such as worms, spyware, rootkits, etc. For getting Norton Setup, visit norton.com/setup 

    ReplyDelete
  32. Geek Squad Tech Support provides the best technical help and guidance. Get in touch with extensively trained tech support team for all sort of queries and issues regarding your devices. You can contact Geek Squad round the clock according to your convenience.

    ReplyDelete
  33. Geek Squad Tech Support is a team of experts that provides tech support services for various devices at home or office. For any tech help contact our experts at Geek squad tech support number.

    ReplyDelete
  34. Geek Squad Support works effortlessly towards serving the consumers and have a wide stretch toward resolving the issues, our Geek Squad Support provides you with all the answers to your issues.

    ReplyDelete

  35. Geek Squad Webroot being an antivirus software is very crucial in respect to today's time. The experts working behind the toll-free helpline of this antivirus are great at resolving all your virus and malware issues. Call Geek Squad now for expert help, anytime.

    ReplyDelete
  36. Initiate with downloading and installing Epson Connect Printer Setup Utility for Epson Printer Setup. Call the advanced printer setup team for assistance.

    ReplyDelete


  37. Dell Support Chat has a team of experts who takes care of your dell device issue. If face any problem with your device like your device is crashed , device is not working properly or others then contact Dell Support Assist and get instant help

    ReplyDelete

  38. Thanks for sharing,very impressive content.If u are looking for any courses visit our site
    big data training institute in btm

    ReplyDelete
  39. HP Printer Setup is required after there is re-installation or update done in your HP device. Speak to experts for solutions on such queries at 123 HP Setup.

    ReplyDelete
  40. Confronting Yahoo Account Recovery Issues Then Avail Yahoo Support

    If you are confronting the Yahoo Account Recovery Issues then just feel free to avail of the Yahoo Support by giving a call or dropping a text. Our professionals are always available to render the best help and they also try to meet the customer's needs and requirements. You also take guidance from or professionals to fix the issues on your own. https://www.contact-customer-service.co/

    ReplyDelete

  41. Avail Facebook Support to Resolve Issues Instantly

    Want to resolve your Facebook issues at once then just immediately avail Facebook Support. By avail the Fb Support you all issues can be resolved in a faster and accurate manner. To avail of the support you need to contact at and even you can also drop a text at the same number. The Facebook Support team is also available to help the clients as they believe in rendering the best customer care solution. https://www.emailcontacthelp.com/facebook-customer-service-number.html

    ReplyDelete
  42. Solitary Call at Yahoo Phone Number Can Fix All Yahoo Glitches

    Facing multiple issues of Yahoo and just because if theses issue your work is hampering then just simply call at Yahoo Phone Number i.e. Feel free to contact at Yahoo Phone Number
    as our assistance is all the time available to assist the customers. Our experts are so skilled and have enough knowledge that they fix your all issues in a shorter time. https://www.customercare-email.net/yahoo-customer-service/

    ReplyDelete

  43. Try our Yahoo Customer Service to know more about Yahoo and its services

    If you know, Yahoo is a popular service provider and web portal founded in January 1994. Its services make things convenient that matter you the most. Plus, this portable is preferred by all for advertising, email, live cricket scores, lifestyle, national & global news, finance, and others.To get detailed information about it, go for Yahoo Customer Service as per your convenience mode.
    Read More:-https://www.verizon-wirelesscustomerservice.com/yahoo-customer-service-number/

    ReplyDelete

  44. Hurry up! Get Yahoo Customer Service instantly

    Recently, Yahoo Mail is integrated with new features for managing email inboxes, SignIn & password-free, smart search capabilities for IOS & Android applications and access contacts across mailboxes. Also, it enables users to combine favorite features, information and content feed. Yahoo is still pushing for improving mail service with backend optimization and new ad-free Yahoo Mail. There’s a lot to know about it so if you want to get more information, then get Yahoo Customer Service.
    Read More:-https://www.emailcontacthelp.com/yahoo-customer-support-services.html/

    ReplyDelete
  45. Fix Account Security Issues Via Yahoo Support Helpline Number

    There are various kinds of problems and hurdles make you stressful and put you in deep trouble. In order to know about the solution to mishaps, grab our technical service by ringing at our toll free Yahoo Customer Servicenumber at anytime from anywhere. Our techies will also provide you the safety tips and tricks for your account.


    Read More:-https://www.dellsupportme.com/yahoo-customer-support-number/

    ReplyDelete
  46. 24/7 hours availability for
    Yahoo Customer Service at your door
    Are you stuck in the Yahoo password recovery problem? Don’t worry! Try the steps below to get rid of this situation.
    1. Go to Sign-in Helper.
    2. Enter the email address or contact number.
    3. Click on Continue.
    4. Enter the CAPTCHA code if prompted.
    5. Click on Yes if you get a text message to the number listed.
    You can get Yahoo Customer Service for setup, use & manage an account, fix account key issues, account security and more issues. https://www.callcustomer-service.com/customer-service/yahoo

    ReplyDelete
  47. Grab Instant Customer Care Through Yahoo Support Helpline Number
    To get the one stop solution to any kind of Yahoo related hurdles and problems you are running into, calling at toll-free Yahoo Support helpline number will be the right choice. Our highly knowledgeable technical geeks will immediately provide you with the best possible solution, at the comfort of your home. https://www.apple-support-phonenumber.com/yahoo-support-phone-number/

    ReplyDelete

  48. Avail Yahoo Customer Service right now at economical rates

    Yahoo provides a user-friendly web portal for video sharing, online mapping, advertising, mailing, fantasy, and other related services.
    Things that make it different from others are :
    ● Personal finance
    ● Entertainment portal
    ● Privacy policy
    ● Image hosting & sharing
    ● Answers to question
    ● Website back link information
    There are several other benefits due to which people prefer to stick with Yahoo. Get Yahoo Customer Service to go in-depth about Yahoo. https://www.customerservicephone-number.com/yahoo-customer-service-phone-number/

    ReplyDelete
  49. Wiping Out Yahoo Issues Needs A Phone Call At Yahoo Number

    If you are one of those needy Yahoo users who are often encountering technical or non technical problems, attain Yahoo Number customer service, under the proper supervision of proficient geeks. They are approachable even in odd hours and can surely root out the entire host of technical glitches and hitches. https://www.customer-service-phonenumber.com/yahoo-customer-service-number/

    ReplyDelete
  50. Use Yahoo Help Service to Make Your Account Protected From Digital Threats

    Make proper use our Yahoo Help by dialing our toll free number if you are willing to keep your account up and running in a flawless manner. For the purpose of safeguarding Yahoo account, hurry up! And get in touch with our professionals at anytime from anywhere. We are here in order to provide the feasible possible solution. https://www.customercare-email.net/yahoo-customer-service/

    ReplyDelete

  51. Take Facebook Help to Solve The Fb All Issues

    Confronting multiple issues related to their Facebook then do not ignore as this may result in hacking of your account. To fix the multiple Facebook issues just simply take the Facebook Helpby giving a call at Facebook helpline number . You can contact at the given number at any time as we are always accessible to provide customer care service.
    Readb More:-https://www.emailcontacthelp.com/blog/acquire-facebook-help-logout-active-sessions/

    ReplyDelete
  52. Stamp Out Yahoo Hiccups Via Yahoo Customer Service Anytime Anywhere

    Stamp out almost all kinds of Yahoo hiccups and hurdles by just calling at Yahoo Customer Service
    number through which all the needy users can directly approach the customer care geeks who will not only suitable answer their doubts and resolve the entire host of your pesky problems and errors at anytime, from anywhere. https://www.technicalsupportphonenumber.com/yahoo-customer-service-number/

    ReplyDelete
  53. Right And Real Time Aid Now At Yahoo Number At Anytime Anywhere?

    For fetching the best solution to deal with Yahoo related hitches or problems, call at Yahoo Number and experiencing the effective troubleshooting help, at the comfort of your home. The available customer care professionals who can be approached by just a quick call at toll free phone number and get the help all the time. https://www.customercare-email.net/yahoo-customer-service/

    ReplyDelete
  54. Is Calling At Yahoo Number Safe Enough To Count On In Hard Situation?

    If you want to get in touch with trusted customer care professionals just make a call at Yahoo Number which remains active round the clock. This is without a doubt the fastest way to get in touch with the and have hands-on solution, right from the comfort of your home. https://www.customerservicephone-number.com/yahoo-customer-service-phone-number/

    ReplyDelete

  55. Profit Telus Customer Service with no problem

    Is it accurate to say that you are another client of TELUS Webmail?
    Stalled out with its new highlights?
    Not motivating approach to determine specialized issues of TELUS Webmail?
    One response to every one of your questions is our Telus Customer Service which is a one stop goal for every one of the clients. Our client service officials are significantly gifted who give correct answer for the customers.
    https://www.customercare-email.net/telus-customer-service/

    ReplyDelete


  56. Yahoo Support: Make Sure A Better Experience On Yahoo
    Are you one of those who are looking for online technical support to enhance your working experience on yahoo mail account? Make use of Yahoo Support services which remain active round the clock availability at your service. So, why are you not getting the aid from experts in order to get rid of your yahoo account related problems and hurdles? https://www.callphonenumber.net/yahoo-support/

    ReplyDelete

  57. Premium Yahoo Help Service Now At Your Disposal For Your Help
    Are you seeking out the Best technical aid? Avail Yahoo Help service which is accessible all the day and night for the purpose of getting the better, effective and quick remedy via which you will be able to get the entire host of your problems sorted out, in a couple of seconds. The available customer care professionals will surely provide the help at anytime from anywhere. https://www.contact-customer-service.co/yahoo-help-number/

    ReplyDelete