Synchronize Two Folders

Posted onby
  1. Sync Two Folders On Mac
  2. Windows Synchronize Two Folders
  3. Windows 10: How To Mirror/Sync Folders Automatically ...

The need to sync folders between computers

Nowadays, more and more people own two or more computers at the same time. And moving files from one computer to another one is a regular thing to do. In the past, you may have tried the USB flash drive to make it. First copy the folders to the USB on one computer and then paste the folders on another computer, which is quite inconvenient and also time-consuming.

FoldersSynchronize Two Folders

We have two folders: FolderA: D: Powershell Original; FolderB: D: Powershell copy; Now, I want to keep FolderA and FolderB in sync (i.e. When a user changes/adds/removes a file/directory in FolderA then same changes should happen in FolderB). Click the Browse button and choose your first folder. Once selected, you can click on the Filter button if you want to exclude certain types of files or to exclude subfolders. If you want everything synced, then don’t worry about the filter button. Now that we have our two folders selected, we can start configuring the options.

Fortunately, things will become easy with the help of file sync. The synchronization operation can help you keep files in multiple locations up-to-date. When you change the files on one computer, the other computers will update too. It’s a great way to keep folders stay the same on all the computers. Here in this guide, we collect 3 methods that can make Windows sync folders between computers. You can first read and then choose one as per your need. Let’s get it on.

Windows

3 methods to make Windows sync folders between computers

Method 1. Sync folders over the network

There’s a feature in Windows that allows users to create a shared folder and anyone in the same network can access it. You can also set custom permissions according to your need. Let’s start to see how to make Windows sync folders between computers with this feature.

Step 1. Find the folder you want to share > Right-click the folder and choose Properties.

Step 2. Click the Sharing tab and then choose the Advanced Sharing... option.

Step 3. Check the Share this folder > Click Permissions to set the share permissions.

Step 4. You can click Add to type the user name that you want to share the files with > Select Full Control, Change and Read permission for the user > Click OK to confirm.

To access the shared folder on other computers: press the Windows key and R key to open Run box > type computername (replace the computername with the name of the computer where you have created the shared folder or the internal IP address of the computer).

Method 2. Sync folders with AOMEI Backupper

AOMEI Backupper Standard is powerful & free file sync software that works well on all Windows PCs. It can help you sync folders between computers in Windows 7/8/10 without effort.

You can sync folders to the network drive from various storage devices, for example, the hard drive, the external hard drive or the USB flash drive. What’s more, it lets you set schedule backup task, and then it will sync the folders daily/weekly/monthly. Thus, you won’t worry about forgetting to sync the folders someday. Here are the steps to make Windows sync files between computers with AOMEI Backupper.

Step 1. Download, install and launch AOMEI Backupper > Click Sync and then choose Basic Sync.

Step 2. Name the task > Click Add Folder to browse the computer and select the folder you need.

Step 3. Click the box to select the destination.

Step 4. Click Share/NAS >Add Network Location and fill the blanks with accurate information > Click OK > Select the destination path and then click OK to continue.

Step 5. Click Schedule to set the schedule task > Click Start Sync to confirm. (There are two more features named Event triggers and USB plug in under Schedule. They are available in AOMEI Backupper Professional. If you are interested, you can download the free trial version to explore it.)

Notes:

Synchronize

1. Remember not to rename the source folder after doing the sync. Otherwise, the sync task will fail.

2. To access the shared folders on other computers: click Start menu and type Network > click Network > find the source computer’s name and click it to check the shared folders.

Method 3. Sync folders with SyncToy

SyncToy is one free sync tool from Microsoft that helps users to sync files between two folders. You can choose any folder to be your source or destination folder, like the internal hard drive, USB flash drive or a network share. Check the following steps to see how to make Windows sync folders between computers with SyncToy.

Step 1. Go to Microsoft Download Center to get SyncToy > Download and install the tool as instructed.

Step 2. Open SyncToy and click Create New Folder Pair.

Step 3. Click Browse to select the folders. The Left Folder is the source folder and the Right Folder is the destination folder.

Step 4. Choose the method of synchronization you want to use: Synchronize, Echo and Contribute. You can click each one to learn the explanation and choose the one you prefer. Click Next to continue.

Step 5. Name the folder pair and click Finish. Now the sync job has been successfully created.

Step 6. You can always change the sync settings anytime you want after creating the folder pair. You can click Preview to check the details. And if everything looks correct, you can click Run button. If the sync goes right, you will see a screen that tells you the sync is successful.

Conclusion

That’s all for how to make Windows sync folders between computers. Hope one of the three methods can help you finish the job successfully. By the way, AOMEI Backupper not only can help you sync folders between computers but also can help you backup system/disks/partitions. It can be your best assistant in helping you protect your computer data.

How To Synchronize Directories with Rsync

Today I’d like to show you the basic usage of rsync – a wonderful, old and reliable tool for incremental data transfers and synchronization of local directories or even data between different Unix systems.

rsync is quite a complicated command, so don’t expect this first post to explain everything and cover every possibility. Like I said, this is only the beginning.

What is rsync?

rsync (stands for remote synchronization) is an open source tool for data transfers between Unix systems.

In simplest form, it’s just a Unix command you run locally to synchronize two directories. But the real power of rsync is when you need to synchronize directories between remote systems. rsync relies on ssh protocol for transferring the data between Unix systems, but earlier versions used rsh. Advanced deployments imply using rsync server in addition to simply running the command – this is basically the same command but running in a stand-by daemon mode.

About

rsync can easily be found or installed in any modern Unix-like OS, but it’s always best to check the official website for latest developments around this tool: rsync website.

What does rsync do?

rsync synchronizes directories – makes one directory look (contain the same files and subdirectories) exactly like another one. rsync works by getting a list of files in your source and destination directories, comparing them as per specified criteria (file size, creation/modification date or checksum) and then making the destination directory reflect all the changes which happened to the source since the last synchronization session.

Basic rsync usage

Just to show you how it works, I’m going to create two directories with a few files in them. /tmp/dir1 in my examples will be a source directory (original dataset), while /tmp/dir2 will be a destination directory – to be made the same as /tmp/dir1 as the result of running rsync.

So that’s how I set up directories and files:

That’s how our directories and files look now, so dir2 contains a copy of file1:

Now it’s time to run your first ever rsync. There’s two ways of specifying options for the command, a full option name starting with — and usually having a meaningful name, or a short option name – starting with – and having short meaningless names (usually one-letter ones) for each option.

The last two parameters in an rsync command line should be the source and the destination directories.

In this example below, we’re using the following options:

-avz – a for archive mode (preserve all the attributes of each file and directory – ownership, permissions, etc), v for verbose mode (report a list of files processed by rsync) and z for data compression to speed transfers up.

–stats – this option shows a summary at the end of rsync’ing process to highlight the main stats of the job

Stats are self-explanatory, and you can see that although there were 4 files found in source directory /tmp/dir1, only 2 files were transferred into /tmp/dir2 because /tmp/dir2 already had one of the files.

That’s all I have for you today, in the next post on rsync I’ll show you some more advanced uses of this command. For the time being, read man rsync or even rsync –help on your system to get an idea of how really powerful this tool is.

Sync Two Folders On Mac

Until next time – good luck with your Unix experiments!

See also

Windows Synchronize Two Folders

  • How to compare directories in Unix
  • List subdirectories of a Unix directory
  • Finding large files and directories

Windows 10: How To Mirror/Sync Folders Automatically ...

Please enable JavaScript to view the comments powered by Disqus.