45
rated 0 times
[
45]
[
0]
/ answers: 1 / hits: 74183
/ 1 Year ago, mon, december 5, 2022, 4:50:14
How can I connect to my android device to rsync music (or other stuff)?
More From » android
How can I connect to my android device to rsync music (or other stuff)?
I found this solution:
Edit local ssh-config, to alter the default port for host "android"
.ssh/config
host android
Port 2222
rsync -rvlc Music android:SDCardLink/
Update
I prefere -rvlc
to -a
since you get a lot of warnings since setting permissions and time-stamps does not work. The option -c
makes the second sync much faster.
I prefere -rvl --size-only
to -a
since you get a lot of warnings since setting permissions and time-stamps does not work. The option --size-only
makes the second sync much faster.
Unfortunately it needs some time for music apps to see the new files. Restarting the device helps.