💾 Archived View for yaky.dev › notes › iphone-photos-on-linux captured on 2023-05-24 at 18:05:44. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
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:
mkdir $HOME/iphone
Connect the iPhone to the Linux machine, click "Trust" on iPhone.
On Linux machine, run:
ifuse $HOME/iphone
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
CC-BY yaky.dev