Synchronizing folders and files
The Leveler
![](/var/linux_magazin/storage/images/issues/2014/167/synkron/78002279_20.png/624612-1-eng-US/78002279_20.png_medium.png)
Legacy backup programs are too heavyweight for a quick backup on the fly, but Synkron helps you keep smaller datasets in sync with just a couple of mouse clicks.
Backup solutions for large networks or workgroups are two-a-penny on Linux, but if you just want to back up a couple of folders with your personal data or keep a backup copy of this data in sync, legacy backup tools are often oversized and thus not fit for the purpose. A small Qt application named Synkron [1] steps into the breach and has custom features with enough potential to keep datasets from different sources in sync at all times.
Uncomplicated
Synkron can be installed from the software repos of virtually all major KDE-based distributions; after installation, you will see a launcher in the Utilities | Archive menu. Arch Linux and derivatives such as Manjaro or Antergos also have Synkron in the AUR [2]. If your distribution does not offer the program, the source code is available for downloading from the project website.
The first time you launch the software, you are taken to a clear-cut program window in which the most important, central element is two input areas for path details. You can enter the two folders you want to sync here; pressing the Browse button to the right gives you an easy way to do so.
The program's most important selling point is its tab structure, which lets users create multiple synchronization profiles and process them in parallel. For a simple sync option, the software starts to synchronize your data when you press the Sync button at the bottom right in the program window. The process steps are shown in a sync log in the lower pane of the window.
Some of the steps are color highlighted: For example, if the program fails to open a folder, the error messages are shown with a red background, whereas successful completion of a synchronization run is visualized in green (see Figure 1).
![](/var/linux_magazin/storage/images/issues/2014/167/synkron/figure-1/624618-1-eng-US/Figure-1_large.png)
For a view of the successfully completed tasks, press the Analyse button, which reports the errors that occurred with individual files during a backup.
Complex Searches
Besides simple backups, Synkron also lets you define exclusion criteria or special instructions for the sync action; this avoids saving all the files and folders in a tree. To define these criteria, press the Advanced button at the bottom left in the window.
In the context menu that now appears, you can check boxes to select various options, such as excluding empty directories from the sync. You can also prevent recursive synchronization, and if you want to include or exclude hidden files and directories, you can check a box to do just that.
Blacklist
If you want to exclude individual files or directories from the sync process as a general rule, you can do so in a clear-cut way. To open the list window, press the Blacklist button in the button bar at the top. In the three-pane window, you can now define the data to exclude by pressing the Add button. Synkron then asks you for the file names and paths, and you can again use a file browser to select them.
If you want to exclude files with a specific extension independent of their positions in the tree, you can add this suffix in the Extensions in the blacklist: pane. Synkron then avoids syncing files with the selected suffix. You need to enter the suffix in the dialog box as .<ext>
(e.g., .raw
) – that is, without a wildcard.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.