Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

Are there any program that will merge 2 text files?

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Are there any program that will merge 2 text files?

Old 06-19-01, 01:28 PM
  #1  
DVD Talk Hall of Fame
Thread Starter
 
Join Date: Jul 2000
Location: Houston, TX
Posts: 9,779
Likes: 0
Received 0 Likes on 0 Posts
I'm trying to put two log files together so I can have a full year of statistics on website traffic. They are about 300 megs apiece so I can't really cut and paste. Anyone know how to do this? Are there any windows programs that will work?
Old 06-19-01, 02:39 PM
  #2  
DVD Talk Gold Edition
 
Join Date: Feb 2000
Location: Greenville, NC
Posts: 2,462
Likes: 0
Received 0 Likes on 0 Posts
The good old copy command should do it. Consulting "copy /?" on a Windows 2000 machine yields this syntax...

copy destination.txt file1.txt+file2.txt+file3.txt

and so on.

Old 06-19-01, 02:44 PM
  #3  
DVD Talk Hall of Fame
Thread Starter
 
Join Date: Jul 2000
Location: Houston, TX
Posts: 9,779
Likes: 0
Received 0 Likes on 0 Posts
Originally posted by mtucker
The good old copy command should do it. Consulting "copy /?" on a Windows 2000 machine yields this syntax...

copy destination.txt file1.txt+file2.txt+file3.txt

and so on.

stupid me smart you. Thanks! That will probably work...I should have thought of it.
Old 06-19-01, 03:29 PM
  #4  
Mod Emeritus
 
Join Date: Feb 1999
Location: Central Vermont
Posts: 3,883
Likes: 0
Received 0 Likes on 0 Posts
In *nix ther's a great utillity called cat. excellent! I think you can even get a dos/win port of it.
Old 06-19-01, 08:58 PM
  #5  
X
Administrator
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,948
Received 48 Likes on 39 Posts
If you have a problem not getting everything with the file1.txt+file2.txt method, add a /b after each file name to do a binary copy. It will get past what look to copy to be eof marks.

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service - Do Not Sell My Personal Information -

Copyright 2021 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.