On 14 Dec 2007, at 23:06, Travis Gassmann wrote: > A nice to have is a start and stop funcation, where I could have it > watch a directory and when ever a new *.bak_YYMMDDHHmmss file > appears it > will compare the files. > > I am looking for resoucres on how to program this script. You might Autotest's code instructive. It watches a directory (of test files) and triggers whenever it spots a change. http://www.zenspider.com/ZSS/Products/ZenTest/ For file comparison diff-lcs should be more than enough: http://raa.ruby-lang.org/project/diff-lcs/ Regards, Andy Stewart ------- http://airbladesoftware.com