Josh
Josh

Reputation: 6322

sync between local and virtual machine

I'm working on a windows platform and want to be able to auto sync my files one way 'on change' to my virtual windows or linux web server - also need to be able to filter file types. i can connect to the remote machine via network drives.

i'm ideally looking for a free, easy to set up solution - a commercial product that does what I need is called ViceVersa but its a little overkill and costs :)

Thanks Josh

Upvotes: 1

Views: 2877

Answers (2)

dgorissen
dgorissen

Reputation: 6305

For other users, its worth mentioning lsyncd, it will auto sync on changes between two machines (by default deferring to rsync). Will only work on Linux though, but if thats not a problem it works great.

It also seems that Sparkleshare has finally released some working code (Dropbox clone). Havent tried it myself but does cross-platform synching and you can setup your own server.

Upvotes: 1

Alex Taylor
Alex Taylor

Reputation: 7178

I'd use rsync - simple, easy to setup, and provides the filters you need. Also very low on bandwidth after the first pass.

Here is a link explaining how to get it working in Windows

Whilst rsync doesn't allow 'on-change' auto-syncing, it is very fast when it scans a sync'ed directory (even very large ones), so you could schedule a frequent sync to overcome this.

Edit: You could combine it with a program like this, to trigger an rsync on folder contents change. Cheaper than viceversa

Upvotes: 5

Related Questions