Sunday 27 November 2011

rsync from android

1) /root/rsyncpassword should contain rsync password, with each of owner, group and other all denied read/write (chown o-r, o-w, g-w, etc)

2) rsync.conf should set secrets-file for the 'access module' (e.g. ::data in the rsync command below) which contains:

user:password

3) Use tasker to run:
rsync --recursive --update --delete --password-file=/root/rsyncpassword vin@192.168.1.2::data/video/Queue/Podcasts/ /sdcard/media/audio/podcasts/