Accessing and converting iPhone photos on Linux
Instructions are for Debian or derivatives.
Install FUSE module for iPhone and converter for HEIC images:
sudo apt install ifuse libheif-examples
Create a new directory that will be used as the mount point for iPhone. Mine is in the home directory:
Connect the iPhone to the Linux machine, click "Trust" on iPhone.
On Linux machine, run:
Copy images from $HOME/iphone/DCIM onto your machine.
To convert HEIC images to JPEG, run this snippet in the directory with images:
for f in *.HEIC; do heif-convert -q 100 $f $f.jpg; done