how to mount iPhone to Linux

Thanks the post here:

https://frameboxxindore.com/linux/how-do-i-transfer-files-from-iphone-to-ubuntu.html

Here are the 4 steps to mount iPhone in Debian/Ubuntu Linux –

  1. Unlock the screen and connect the iPhone (do the ‘Trust this computer’ part). Check dmesg: dmesg | grep usb. ...

  2. Pair the device: idevicepair pair

  3. Create a mountpoint (e.g. ~/iPhone) and mount the iPhone using ifuse: mkdir ~/iPhone; ifuse ~/iPhone

  4. Do whatever you need to do then, to unmount: fusermount -u ~/iPhone

Tested on Ubuntu 22.04 with iPhone X and they’re working.

While, the new iPhone photo format is by default as heic, see another post to convert them into jpg.

Good luck!