Installare FreeFileSync su Linux
Today's tutorial is very simple: we will see how to install FreeFileSync on Linux, integrating the installation as much as possible into the operating system (FreeFileSync has no dependencies and does not offer specific packages for each distribution).
FreeFileSync is software that compares different directories, syncs them, creates and manages backup copies. Instead of copying each file all the time, FreeFileSync determines the differences for each source and destination file, transferring only the necessary amount of data.
Come installare FreeFileSync in Ubuntu 20.04 LTS
First let's download the package the official site.
Let's extract the downloaded tarball file, it will then be possible to execute the internal file and launch the program.
I suggest extracting the archive to the / opt directory so that it can be used globally (in the case of multiple users).
sudo tar -zxvf ~/Downloads/FreeFileSync_*_Linux.tar.gz -C /opt
Now let's create a shortcut for the current user with this command:
Inside the file we will paste the following lines:
[Desktop Entry] Type=Application Name=FreeFileSync GenericName=Folder Comparison and Synchronization GenericName[de_DE]=Ordnervergleich und Synchronisation Exec=/opt/FreeFileSync/FreeFileSync %F Icon=/opt/FreeFileSync/Resources/FreeFileSync.png NoDisplay=false Terminal=false Categories=Utility;FileTools; StartupNotify=true
We save with “
Ctrl + O” and we go out with “
Ctrl + X“.
If desired, you can create a second shortcut for RealTimeSync (always contained in the same package).
We paste the following code inside:
[Desktop Entry] Type=Application Name=RealTimeSync GenericName=Automated Synchronization GenericName[de_DE]=Automatisierte Synchronisation Exec=/opt/FreeFileSync/RealTimeSync %f Icon=/opt/FreeFileSync/Resources/RealTimeSync.png NoDisplay=false Terminal=false Categories=Utility;FileTools; StartupNotify=true
We save in the same way as before and immediately we should find the programs among the applications.
In my case I am using Budgie Desktop.
Some uncommon functions
After using it for some time, FreeFileSync soon became my favorite software for managing my incremental backups. In addition to being particularly simple to set up, the graphic interface is quite intuitive and the possibilities are not inferior to those of other more prominent software.
In addition, one of the features that I appreciated the most is the ability to copy files (as well as locally) with FTP protocols, SFTP e su Google Drive.
This button, located next to the button “Browse” will allow you to pair your Google account and access files on Drive.
Another important aspect: the files on the left are not necessarily those on the PC, the ones on the right are not necessarily the remote ones. There is no limit to user preferences. It will be possible to synchronize in one or both directions. The residual files can be set “to keep” the “to delete”.
How to remove FreeFileSync
Not relying directly on the system, it will be possible to remove the program simply by deleting the directory that contains it.
sudo rm -r /opt/FreeFileSync
Same goes for the shortcuts.
cd ~/.local/share/applications && rm FreeFileSync.desktop RealTimeSync.desktop