drathe Posted February 15, 2011 Report Share Posted February 15, 2011 Anyone know how to merge two awstats files into one? My switch to MDD was mid-month and I would like to combine the files into one. Not an urgent matter. If anyone knows how, great! If not, no biggie. Quote Link to comment Share on other sites More sharing options...
kuemerle5 Posted February 15, 2011 Report Share Posted February 15, 2011 Anyone know how to merge two awstats files into one? My switch to MDD was mid-month and I would like to combine the files into one. Not an urgent matter. If anyone knows how, great! If not, no biggie. Perhaps you are looking for something like logresolvemerge.pl that is included with AWStats? Seems pretty simple to use. Just call it, specify whatever flags you need/want then the file names you are merging separated by spaces. From what I can see, you probably won't need any of those flags. What would make it easier is if all the files were in the same directory. Take the following advice with a large grain of salt, but looks to me like you can do the following from ssh after you cd to the right directory:perl logresolvemerge.pl *.* > output_file.whatever_extensions_the_logs_are_inAnd then I would imagine you can copy that merged file back. Hope this helps! Quote Link to comment Share on other sites More sharing options...
drathe Posted February 19, 2011 Author Report Share Posted February 19, 2011 Unfortunately, I only end up getting a 0byte file. Thanks for trying though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.