Page 1 of 1

TM1 Data Directory Compare Tool

Posted: Tue Jan 26, 2010 10:38 pm
by Kyro
Morning All,

I've just thought I'd put out one of the tools I've made over the last while.
This tool takes the directories of both production and development servers and tells which files are missing from which directory.

Click here to download

I have also put it on my TM1 Tutorials Site.

Sorry, I posted here as I dont have access to post in the "Useful code, tips and tricks" forum.

Re: TM1 Data Directory Compare Tool

Posted: Mon Jan 23, 2012 10:56 pm
by Martin Ryan
Is this still publicly available somewhere Ben? This link doesn't work anymore.

Martin

Re: TM1 Data Directory Compare Tool

Posted: Tue Jan 24, 2012 1:38 pm
by bihints.com
windows: http://winmerge.org/
linux: diff -qr dirA dirB

Re: TM1 Data Directory Compare Tool

Posted: Tue Jan 24, 2012 1:40 pm
by jim wood
I'm guessing that's a different more geenric open source tool that does the same thing??

Re: TM1 Data Directory Compare Tool

Posted: Tue Jan 24, 2012 3:02 pm
by bihints.com
winmerge also displays differences between the files side by side, highlighting the chunks of code that differ.

or simpler, no installs required:
DOS: xcopy /L can list what files may need to be copied.
bash: rsync -anuve

Re: TM1 Data Directory Compare Tool

Posted: Tue Jan 24, 2012 3:42 pm
by Wim Gielis
Hello

Updated code of Ben could be found here:

http://users.skynet.be/fa436118/wim/tm1 ... tories.htm

(direct link to a page on my website).

Needless to say, there are other and possibly better/easier methods, as suggested above.

Re: TM1 Data Directory Compare Tool

Posted: Tue Jan 24, 2012 8:19 pm
by Martin Ryan
Wow, that WinMerge is great! Thanks for the tip.

Re: TM1 Data Directory Compare Tool

Posted: Fri Apr 06, 2012 1:12 am
by Harvey
I have been using WinMerge for a few years now and can highly recommend it. It saves many hours of hair-pulling in a dev/staging/prod environment.

However, if you want to compare changes in dimensions, cubes, attributes, processes, etc, you're out of luck as these are stored in binary format on disk and WinMerge can only show (readable) differences in text files.

I'm working on a tool that does an even better job (ie, it doesn't just show file differences, it understands TM1 objects and how to compare them) and will announce on the forums when I have got it to beta stage.