Ubuntu / Linux news and application reviews.

BitTorrent Sync, a free to use (but not open source) tool that can be used to automatically synchronize files between computers using the BitTorrent protocol, is now available for all as public alpha. The application runs on Linux, Windows, Mac OS X and NAS.

BitTorrent Sync Web Interface Linux

The tool, which has been in closed alpha for the past four months, is advertised as "a simple tool that applies p2p protocol for direct live folder sync with maximum security, network speed and storage capacity".

And indeed, BitTorrent Sync is a great way of syncing and sharing files between computers, even files that you usually wouldn't trust with cloud sync tools such as Dropbox: besides the files being transferred directly between the users (so your files don't end up on some cloud server), the connection is encrypted with a AES cypher and a 256-bit key created on the base of your Secret, a random 20 byte or more string. For increased security, there's also an option to generate a Secret that expires after a day.

Basically, this peer-to-peer (p2p) sync tool can be compared with cloud sync services such as Dropbox or Ubuntu One, but no server is involved which also means that the sync can be faster than such services and there are no space restrictions (except your HDD). This also means the computers need to be online for the sync to work, obviously.



How to use BitTorrent Sync on Linux


Update: BitTorrent Sync beta is out and there's now an Ubuntu PPA you can use to easily install it. See: Install BitTorrent Sync GUI In Ubuntu Or Debian [PPA Repository]

Arch Linux users can install BitTorrent Sync via AUR.

To use BitTorrent Sync (or "BtSync") on Linux, download and extract the binary for your architecture (Ubuntu users: use the "Linux i386" or "Linux x64" links on the left; don't download the "glib 2.3" binaries), extract it and to run it, simply type the following in a terminal (assuming you've extracted the "btsync" binary in your home folder):
cd
./btsync

To see a list of available options, type:
./btsync --help

And if you want to stop BitTorrent Sync, use:
killall btsync

BitTorrent Sync doesn't come with a GUI for Linux, but it can be configured through a web interface so once you've started BtSync like we've explained above, open a web browser and enter the following URL: http://localhost:8888/gui/

Now let's add a folder to sync. To do this, click "Add folder", then browse for a folder you want to sync and also click "Generate" to generate a Secret for this folder. Then click "Add" to add the folder:

BitTorrent Sync Web Interface Linux


If you want to connect to other devices / synchronize a folder from a remote computer on your machine, follow the same steps as above, but instead of clicking "Generate" for the Secret, paste the Secret generated for the folder from the remote computer.

On Linux, most of the settings aren't available in the web interface. Instead, you can run:
./btsync --dump-sample-config > sync.conf

Which will create a new "sync.conf" file with a sample configuration file. Modify the settings in this file to suit your needs and then run BtSync using the following command (which will make BtSync use the newly created configuration file):
./btsync --config sync.conf

For more on how to use BitTorrent Sync on Linux but also on Windows and Mac OS X, see the User Guide PDF file.

Download BitTorrent Sync for Linux, Windows, Mac OS X and NAS.