Monday, April 29, 2013

Sync Folders On Your LAN with BitTorrent Sync

There's a new syncing service and this one's a little different. Have you ever just wanted to sync your folders without involving the cloud? Here's your chance with BitTorrent Sync. As the name suggests, it uses BitTorrent technology to sync any folder across all your PCs and NAS devices on your home network. The only caveat is you need the client running on both computers, and the OS X version requires Snow Leopard, so Tiger and Leopard users are out of luck. So why is this appearing on a PowerPC blog? Because incredibly BitTorrent Labs compiled a PowerPC version for their Linux client. I've used it to sync folders on a MintPPC desktop and a Debian laptop, and though it's still in alpha and doesn't have many advanced features, it worked flawlessly.

Here's how to get it going. First, download the correct version (Linux PowerPC for your PowerPC Macs) and extract it to any directory in your home folder. Then either use your file manager to open that directory in a terminal, or in a terminal type the command cd path to directory holding the btsync binary. Then get the btsync daemon running by entering ./btsync.

Nothing happened. That's 'cause you have to use the web interface, silly! So get your IP address with sudo ifconfig (among other methods), fire up a web browser and go to yourIPaddress:8888/gui. In my case:

192.168.1.105:8888/gui

Next you should see the web interface where you can click Add Folder. Type the path to it, /home/yourusername/whatever, and then click the generate secret button. You will enter that secret into your other computer to sync to that folder. So do the same thing on your other computer. Extract the binary, startup the daemon, bring up the GUI, and add a folder to sync, this time entering the secret from your other computer into the Secret field instead of generating a new one. Now the syncing should start--Snow Leopard users may see a delay of up to ten minutes which BitTorrent Labs implies is strictly the fault of Snow Leopard ;)

I got pretty much full speed out of my wireless connection, though I haven't tested it over ethernet so I'll defer comment. Also, in their Get Started guide, they mention disabling the "Delete files to Sync trash" option means your deleted files will instead go to your system's trash folder, but on my system they just disappeared. So be mindful of that. Also there's no versioning yet, but I'd expect that in the near future. But overall, pretty cool stuff.

No comments:

Post a Comment