image


 Projects   That I worked on  and I am  working 

  Thoughts  Where I Sometimes Write Things


           

Thoughts


Synching files on two computers which are not connected to the internet   4th Nov 2012

Sometime ago a friend of mine wanted a software which could sync a folder in which he was working on both his office and home computers. So I suggested him the most obvious solution Dropbox. But he works in a defense laboratory which is not connected to the internet but have their own private intranets.

There are quiet a few software's on the web primarily for data backup onto flash-drives which I thought could be used to achieve synchronization.  And this list shows a bunch of them and their features. But all these software's although good have pretty sluggish interfaces and lot of features which one wouldn't ever use.So I planned to try out something and found that the xcopy command has  nice parameters .

xcopy folder1 folder2 /E /H /R /D /Y
xcopy folder2 folder1 /E /H /R /D /Y
would synchronize two folders and basing on this i have quickly written a simple batch script to achieve synchronization of a folder named briefcase which is present on my flash drive and on my E: drive.
I was thinking of writing a whole application basing on this little piece of code I have written but really not clear about the usability and the features that I have to put into this. Please do comment for any inputs.

comments powered by Disqus