Concat of Many Files
I had this scenario where I needed to write many small files into one file. My problem was that I only wanted xml files, and the number of files was so big that bash couldn't handle the
In the end it meant that I could for the first time use the
xargs tool to do something useful.
Code of the Day
This was the command that did the trick in the end:
ls | grep .xml | xargs -n 32 cat