Friday, October 5, 2012

Roll Your Own File/Folder Sync Solution the Easy Way

Well, easy is a relative term but I find RSync on Windows to be painful at best and Unison is better but no UI for those who aren't terminal-crazy. I'm somewhere in the middle.

So anyway, here are the links you need (and to give credit where it's due):

  To actually be able to sync files/folders in various way and have a UI to configure the rules.
  To fire off sync operations when files or folders are changed.
  To hide any command windows that might popup.

I'm in a hurry so I won't give you a step-by-step, but basically use the 1st link to install and configure SyncToy then go Google the syntax to execute a command-line sync of a "folder pair".

Once you have that syntax, use the 2nd link to create a .cmd (or .bat) file and .vbs file that will call the .cmd so that you can sync without a window popping up to annoy you.

Finally, use the 3rd link to download and configure TFS (TheFolderSpy) to monitor the folder your're syncing (the "Left" folder in SyncToy terms) and then use wscript to execute the vbs script and pass the .cmd file path so the sync won't popup.

Now anytime you change anything in the source ("left") folder or sub-folders, the sync will occur. Pretty much the same concept as Google Drive Sync, Drop Box, etc... except it doesn't require your data to go over the Internet, it can be used even locally on multiple drives, etc...  Complete control!

Enjoy!

4 comments :

Xda user said...

Eat shit you little girl.


Do something again.

rainabba said...

Thanks for the constructive feedback kid. Your kind words make me feel all warm and fuzzy inside and I look forward to see how else my newest fanboy will honor me with his attention. Nothing says, "I love you" like some good ole-fashion Internet stalking. You even created a Blogger account just for me! You just made my day!

Xda user said...

Good luck. Have fun publicizing your ignorance, I love all the attention you give me.

rainabba said...

Ahh, the beauty of the ignorant is that they never know they are just that. I'll let you have the last word after this since I have better things to do (and better ways to entertain myself), but I realize you like the attention. Why else would you go through all this trouble to get mine? The thing you fail to realize is what a looser you make yourself out to be by doing it this way. It's not much different than my 3 year old son throwing a fit to get attention rather than just coming up to me and asking to play. The difference is that you should be old enough to know better but clearly that's not the case.

If you want my attention so badly, why not just engage me in a positive way instead of going all "defensive fanboy" in XDA PM's or spamming my blog. I'm on G+ and don't hide. You're welcome to just post and chat.

Until/unless you change your tune young man, I'm just going to have to ignore you.

Post a Comment

Followers