Merging 2 files with same name

Microsoft Xbox 360 arcade spring 2010 co...
June 17, 2010 at 11:13:16
Specs: Windows 7

I need to merge two files which have the same name but in different directories. I need to do this for all the files of the two directories. Both directories have same number of files and all the files have same names. A unix script should do the job.


See More: Merging 2 files with same name

Report •

June 17, 2010 at 12:31:35
not sure. In Windows you would...

type file1.txt >> file2.txt

I think Unix uses the same Redirection as Windows so it would be...

cat file1.txt >> file2.txt

which will append the contents of file1 to the bottom of file to.

Report •
Related Solutions

Ask Question