• 4 Posts
  • 92 Comments
Joined 1 year ago
cake
Cake day: July 21st, 2023

help-circle










  • I went the jank monstrosity path. Well, a few scripts anyway.

    I use an app called SimpleSSHD on the phone that lets me ssh in. Then rsync to transfer files. The script to sync pictures is like this:

    # file 'droidip' contains the local wifi ip of the phone.  
    dip=$(cat droidip)
    
    rsync --append-verify --progress  -avz -e "ssh -p 2222" root@$dip:/sdcard/DCIM/Camera newphonepix
    

    Truthfully it was as much about learning rsync as anything, and now I’m sticking with it because momentum I guess. adb is way faster if you really need to move a lot of files.