4 ms·
I use libimobiledevice on linux plug iphone into usb. lsusb should show it. I backup my photos with: sudo ifuse -o allow_other /mnt rsync -a /mnt/DCIM <
by m463 10mo ago
I use libimobiledevice on linux
plug iphone into usb. lsusb should show it.
I backup my photos with:
sudo ifuse -o allow_other /mnt
rsync -a /mnt/DCIM <photos-dir>
sudo umount /mnt
Actually, I backup all of /mnt not just DCIM, but that answer
is for you. I also backup the entire phone with:
sudo idevicebackup2 backup <backup-dir>
but in this form it either does the photos as data files, or
doesn't back them up. I think it is a complete backup.
- yardstick 10mo agoDo you take into account the iPhone not holding the original images of every photo? It will offload originals and just keep thumbnails if the library is too large. Mine is approaching 1.5TB, I’ve got no hope of keeping that all on an iPhone, and also no guarantee that any given photo is fully available locally.
- cyberpunk 10mo agoAren't there hooks on the filesystem layer that downloads them when you access them? E.g I can browse via terminal to my iCloud Drive somehow and cat etc works on files which aren't local (after locking to download them first).
- thw_9a83c 10mo ago> Do you take into account the iPhone not holding the original images of every photo? If you have enough storage space on your iPhone, you can select "Download and Keep Originals" in the photo app settings.
- m463 10mo agoI think the originals and edits are both there. I don't know about space-optimized storage on-phone. I know one setting for transfer to mac or pc - I have it set to "keep originals" instead of "automatic". There might be other settings I'm not aware of. EDIT: actually, there are other directories (under /mnt but outside DCIM in my example) that seem to have other photo stuff, maybe edits? ymmv