you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago (1 child)

It's really tragic and inelegant how we have to jump through hoops and bounce files around a wireless network when the USB cable is just sitting right there. What I had to do since rsync doesn't work with mtp file paths was to install android-file-transfer and run the following with my phone connected via USB, but not already mounted by the file manager:

aft-mtp-mount /path/to/mount/point
rsync -a --progress --exclude 'Android/' '/path/to/mount/point/Internal shared storage/' '/path/to/backup/'

You can also omit the --exclude 'Android/' part as needed, I just didn't want to copy over the quintillion tiny files under that directory.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 1 year ago*

    I would be sending files to the Android device, using it as a location to backup "important" data. Mostly Factorio saves.

    Plugging in for that is impractical given its already on the same LAN.

  • source
  • parent