Solved

Combine log files into one file?

Posted on 2009-04-13
2
404 Views
Last Modified: 2012-05-06
Hi,
I am using robocopy to back up my servers and then emailing the backup logs using bmail software. I am trying to combine all logs from different servers running at different time into one log file at the end and bmail it to me instead of getting 8 different log files everyday!.
I can direct all logs to go into one network folder. Is there a free software that will merge all those logs into one file? I tried the /LOG+:file parameter from robocopy but it didn't work, it was emailing me some funny characters, i don't think it logs well when accessing from the network.

any suggestions?
Thanks
0
Comment
Question by:smaguire
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
Justin_W_Chandler earned 250 total points
ID: 24130279
copy file1+file2+file3+file4+file5+file6+file7+file8 newfile.log

*OR*

for /f "tokens=*" %A in ('dir /b *.log') do type "%A">>newlog.log

(this assumes that the log files are all named something.LOG)
0
 

Author Closing Comment

by:smaguire
ID: 31569520
Great. Thanks!
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question