Dropbox, ownCloud, syncthing and btsync are great tools for syncing files and folders between your computer, tablet and smart phone. But what about syncing files and folders on the same device? FreeFileSync is a free and open source file synchronization tool that fits this purpose. It can be used to back up your files to external USB hard drive. The latest stable version is 8.2. This tutorial shows how to install FreeFileSync on Ubuntu 16.04/14.04/15.10.
Install FreeFileSync on Ubuntu 14.04/15.10
FreeFileSync isn’t in Ubuntu repository. The official PPA supports Ubuntu 14.04 and 15.10. So to install it on Ubuntu 14.04/15.10, simply open a terminal and run the following three commands:
sudo add-apt-repository ppa:freefilesync/ffs sudo apt-get update sudo apt-get install freefilesync
Install FreeFileSync on Ubuntu 16.04
The official PPA hasn’t been updated for 27 weeks. It doesn’t support Ubuntu 16.04 LTS at the time of this writing. We can manually download and install it.
Go to FreeFileSync download page.
Select Ubuntu 16.04 64-bit.
Once downloaded, open file manager, navigate to the download folder. Then right-click on the tar.gz file and select extract here.
The content will be extracted to a new folder
FreeFileSync in the current folder. In that folder you will see two executable binaries: FreeFileSync and RealTimeSync.
Double-click the FreeFileSync binary and you will see the program running.
Create a Launcher
First, to keep the file system tidy and organized, move the FreeFileSync directory to /opt/.
sudo mv FreeFileSync/ /opt/
Then unzip the
Resources.zip file which contains png files.
sudo unzip /opt/FreeFileSync/Resources.zip -d /opt/FreeFileSync/Resources/
Next, install Gnome Panel which allows us to create
sudo apt-get install --no-install-recommends gnome-panel
And create a
.desktop file in
sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
Give the launcher a name and specify the command to execute (
/opt/FreeFileSync/FreeFileSync). Clicking the spring icon allows you to choose an icon for the launcher (
Click OK button and you will see a luncher in Unity Dash.
Source Folder and Target Folder
On the right pane, click the left Browse button to add the source folder. Click the right Browse button to add the target folder. Once it’s done, click the Synchronize button to start syncing files between source and target folder. You can also click the Compare button to see what’s the difference between the two folders.
Two-Way vs Mirror
By default, FreeFileSync uses two-way synchronization. That means changes made in either source or target folder will be synchronized to the other folder.
If you only want the target folder to replicate change from the source folder, you can configure it to use mirror synchronization by clicking the green gear icon and selecting Mirror in the setting window. And now changes made in the target folder will not be synchronized to the source folder.
Comments, questions or suggestions are always welcome. If you found this post useful, ? please share it with your friends on social media! Stay tuned for more Linux tutorials.