Skip to main content

Synching Between PCs Using Microsoft SyncToy

If you are like me using more than one device for work and leisure, then synching  between devices for file updates is a pain. What is more frustrating is discovering you have been modifying an older version of your file on another workstation! Even the best merging tool wont help you much if the changes have been big. I bet two in three readers would say, hey why not use the cloud ? I have to say cloud is amazing, it enables my android devices to sync seamlessly and I consider Evernote as one of a must have.
 
 
However, we dont always have the luxury at our work area because of some obvious reasons :

  1. We dont use smartphones and tablets at work. We are stucked with windows xp  and windows 7 machines.
  2. The generous system admin restricts the use of Dropbox or Skydrive.
  3. Updating files in a shared drive is not really a good option.
Fortunately, Microsoft have thought of this scenarios before and came up with a freeware called Microsoft SyncToy. This is an old power toy for Windows XP that I just recently used to sync folders between my desktop PC and my company issued laptop.  The latest version , SyncToy 2.1, comes in 32-bit and 64-bit version. And yes, it works properly on my Windows 8 laptop :-)
 
Easy Setup
  1. Ready the two PC or Laptop that you need to sync often.
  2. Download the latest SyncToy version from the Microsoft Site. Make sure you select the correct release. You dont need to install and configure the software to both, just choose one where you want to update most often. If you think it is really necessary, you can also install and configure  the software on both machines.
  3. SyncToy supports UNC shares. Thus, to sync two folders from different PCs, share the other folder so that it will be visible to the other machine. You can setup a password on the share to add security.
  4. Open the SyncToy application and create a folder pair. The folder pair is the two folders that will be synched by the application. Each folder pairs will have their name and you can add as many folder pairs as you want. SyncToy offers three possible setup for synching : a) Synchronize takes the two folders and makes sure they have exactly the same files. To do this, SyncToy may copy files in either direction and may delete or rename files in either folder. In the case that a file has been updated in both the left and right folders, the version with the later modification date is considered the conflict winner and will overwrite the other version ; b) Echo looks for changes (file modifications, new files, renames, deletes) in the left folder and makes them in the right folder (one-way sync). ; c) Contribute is like an Echo, but it does not delete any files on the right folder that may have been deleted in the left folder.
  5.  
  6. After creating floder pairs, you are now ready.
Synching is a breeze and it provides you a way to preview the files that will be affected by the action. To do this, just select the folder pair and click the Preview button. The application will display all files that will be affected, you can choose which to update and which are to be left untouched. To start synching, just click the Run button. After synching, the application will display the result summary :-)
 
It does not end there, if you want to run the application at a predefined time in a day, you can use the Windows Task Scheduler to trigger the sync.  These articles discusses this option :
 
 
 
 

Comments

shovo shake said…
GSCopy Pro v6.0 (RoboCopy Alternative) with Open File Agent
GSCopyPro is a single command-line tool (CLI) that can copy, replicate and move files from one folder to another. This folder can be on the same machine/ server or another server elsewhere. What makes GSCopyPro stand out from other competitors is the fact it works on 32-bit as well as 64-bit systems and has no restrictions. It can easily be scheduled to run as a scheduled task and fully automated. GSCopyPro also comes with an open file agent which can copy files that are locked/ opened by other processes. This feature is supported in all windows versions from widows XP/ 2003 and later.
Go To:>> http://www.gurusquad.com/GSCOPYPRO

Popular posts from this blog

Hiding Unwanted Python Folders and Files in Visual Studio Code

Visual Studio Code is a universal editor and pretty good at it. However, the explorer view maybe cluttered with the automatically generated folders and files confusing developers. Python is no different. Below are example files and folders generated by Python.

The __pycache__ folder and *.pyc files  are totally unnecessary to the developer. To hide these files from the explorer view, we need to edit the settings.json for VSCode. Add the folder and the files as shown below:
Copy and paste the lines below :

"**/*.pyc":{"when":"$(basename).py"},"**/__pycache__":true

renaming default namespaces for VSTO projects in VS2008

So here is the scenario , you are starting a VSTO project and decided that your default namespace is ExcelAddInTesterApp . You created the project and started coding the project. After several days , your boss called and said "hey marvin , make use of this namespace OurCompany.ExcelAddInTesterApp , we have to add our company name to it got it?" . You get back to your machine thinking its just a simple property just like any project you've been working on. So you right clicked the VSTO project and hit properties . Boom! What the F@#$? The default namespace textbox is disabled!!!!



I've been through this and I googled for ways to do it and ended up with a blog from a Microsoft MVP telling me it can't be done because it is disabled. Then I thought of Refactoring, the beauty and grandeur of the renaming process. I selected the namespace and hit the refactor menu hoping that this would solve the problem . Unfortunately , it did not rather it displayed the message box …

Automatic Properties and Object Initializers in .Net 3.5

With the release of .Net 3.5 alongside with Visual Studio 2008 , new enhancements was again introduced . Some maybe well pronounced such as the inclusion of WCF, WPF , LINQ in .Net 3.0 and some just came unnoticed. If you have been accustomed of using a particular method or technique in implementing a certain code in .Net 2.0 , because of backward compatibility , you may not even notice that there are new ways of implementing it in .Net 3.5.

Here are two new concepts in .Net 3.5 that a developer may not notice ( at least in my opinion ) : Automatic Properties and Object Initializers . To illustrate these two , I am going to present the pre-.Net 3.5 way (.Net 2.0) and the .Net 3.5 way in creating a simple class with simple properties.

Automatic Properties

Creating a class can be tedious , especially when working with a list of properties , . One way to get around having to type the code for a private field and its public property getter and setter is to use a refactoring tool. However, …