Home ›
Merge all text files in a folder into one fileMerge all text files in a folder into one file
Submitted by Benjamin Melançon on June 22, 2009 - 5:43pm
concatenate all files in directory (GNU-Linux)
cat ls -rt > newfilename
Note the backticks.
More like this
- Shell commands for untarring (and deleting the archive) a bunch of gzip files
- See list of MySQL databases via GNU Linux shell command line
- How to copy files using the command line
- Fix messy Mac-style line endings to have proper Unix text file format
- Grep (search) through files in multiple folders avoiding .svn directories

