RSync photos from your iphone

After enabling SSH via “Independence”:http://code.google.com/p/independence/, installing the BSD subsystem via “Installer.app”:http://iphone.nullriver.com/ and creating a local ~/Pictures/iPhone directory it’s a simple matter of:

rsync -avz root@10.0.1.14:/var/root/Media/DCIM/100APPLE/ \
          ~/Pictures/iPhone/
or as an alias, for convenience, in ~/.bash_profile:
alias syncphone='rsync -avz root@10.0.1.14:/var/root/Media/DCIM/100APPLE/ ~/Pictures/iPhone/'
Additionally getting SSH key-based authentication to work is a simple matter of scp’ing your public key to:
/var/root/.ssh/authorized_keys2
and setting the correct permissions:
chmod 755 /var/root
chmod 700 /var/root/.ssh
chmod 644 /var/root/.ssh/authorized_keys2

Notes

Show