Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have folder with 600+ .txt files. Each file has couple lines of short text. I want to create another file and write text from all those files to new one. Are there some Terminal commands or tools to do this?
This command will take all .txt files combine to a single file.
cat ~/name_of_folder/*.txt > ~/combined.txt