0

I'm now on CM13 (Android 6) and rsyncing in will not work due to permission errors (and the sudo command doesn't exist) So I ask you, are there any programs to sync my music across? I don't want to use services that require me to upload it and then download it again due to bandwidth and speed issues.

I have also tried adb-sync but it just errors out (as is expected with adb!).

2
  • You can use su -c 'command' rather than sudo command. – Matthew Read Apr 20 '16 at 21:40
  • It still didn't work, I had tried that before posting. Thanks though! – Snorflake Apr 22 '16 at 7:11
1

You could use Bittorrent Sync to copy the music folder on your computer to your phone. The whole thing will complete on your local network (as long as you don't leave it!). I recommend Bittorrent Sync assuming your local network's speed isn't an issue.

0

Hint: there's no sudo on Android, just su. And for using ADB as root the daemon on the Android device must run in "insecure mode" (i.e. as root, e.g. using Chainfire's "insecure adbd" app).

If you don't want to go that way, there are easier alternatives which you can e.g. find in my list on Synchronizing Files and Folders. I'd recommend taking a look at FolderSync, which I use myself (just in the paid variant). Supports a plethora of protocols for all kind of systems (including SFTP/SCP to work with Linux machines, and CIFS/SMB for Windows). Lets you define folder pairs to sync. You can even setup a scheduler for it, and tell it to only sync when you're connected to your home WiFi. And more (e.g. cloud, which you stated you don't want ;)

0

Setting up an SSH server on Android 6.0 is fairly easy and works well with rsync. I installed SSHDroid. You need to use the SD:/Android/data/com.* path relevant to the app for the files you are syncing however.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.