Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Combine log files into one file?

Posted on 2009-04-13
2
Medium Priority
?
409 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 1000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

715 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