BitTorrent Sync: Painless File Syncing without the Cloud
Productivity Sauce
Cloud-based file syncing services are a dime a dozen nowadays. Most of them store copies of your data on remote servers and charge for storage space. This approach has two major drawbacks: you have to entrust your data to a third-party service, and the more storage you need, the more you have to pay. The recently released BitTorrent Sync tool offers an alternative solution that solves these problems. Instead of relying on a central server for storing files and syncing them between multiple machines, BitTorrent Sync uses a peer-to-peer protocol to keep files in sync across multiple machines. This is a brilliant solution, indeed. You don't need to run a dedicated synchronization server, there is no storage limit, and all your data stays on your machines. Better still, BitTorrent Sync encrypts all the traffic to keep your data safe.
Deploying BitTorrent on Linux is as easy as pie. Grab the appropriate version of the tool from the project's website, unpack the downloaded archive, and move the btsync executable binary to the directory of your choice. Run then BitTorrent Sync using the ./btsync command. Point then your browser to 127.0.0.1:8888/gui to access BitTorrent Sync's web interface. Here, you can add the folders you want to keep in sync. When adding a folder, you have to create a secret, a randomly generated 21-byte key. This secret is used to link folders between multiple machines.
While you can use the ./btsync command to run BitTorrent Sync with default settings, this is not always a good idea, as this leaves the web interface unprotected. The solution is to create a configuration file and point BitTorrent Sync to it. To view a sample configuration, run the ./btsync --dump-samle-config command. You can use the sample as a starting point for your own configuration file. Here is what my configuration file looks like:
{ "check_for_updates" : true, "download_limit" : 0, "upload_limit" : 0, "webui" : { "listen" : "0.0.0.0:8888", "login" : "username", "password" : "password" } }
To start BitTorrent Sync with a custom configuration file, use the ./btsync --config /path/to/btsync.conf command (replace /path/to/btsync.conf with the actual path to the configuration file).
comments powered by DisqusSubscribe 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.
News
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.