Andrew Keith
Andrew Keith

Reputation: 7563

File changed watcher Tool

I have recently begun a new project which runs on remote computer. I usually remote debug the application. I have setup microsoft sync toy to "echo" the built exe,dll,pdb and configs to the remote computer.

However, i cant add synctoy to my visual studio build events because it might disturb some of the other programmers in my team. I was wondering, which (free) tool would you guys use to watch a folder of files and kick off synctoy when a change is detected.

I can write a simple file watcher, but rather than reinvent the wheel, i would rather just use an existing tool. Searching on google yields so many tools, i wouldn't want to try them out just to find a good one.

Upvotes: 1

Views: 775

Answers (2)

johnc
johnc

Reputation: 40223

It may fall under the banner of reinventing the wheel, but if you are using .NET, the FileSystemWatcher class, albeit without a UI, is pretty much as comprehensive as you can get, out of the box.

I'm sure you could knock something up with it in a very short time.

Upvotes: 1

Paul Leclerc
Paul Leclerc

Reputation: 13

What about using Robocopy with the /MON or /MOT options? See http://ss64.com/nt/robocopy.html for more details.

Upvotes: 1

Related Questions