Access iPhone from Linux

Enable Javascript to display Table of Contents.

Access iPhone storage

First you have to install some libraries and ifuse:
sudo apt install libimobiledevice6 libimobiledevice-utils ifuse
To be able to connect the iPhone you have to pair it. Maybe you have to perform this command twice (once before and once after you pressed "trust" on your iPhone):
idevicepair pair
Then you have to mount the iPhone storage:
sudo mkdir /media/iphone
sudo chown $USER /media/iphone
sudo chgrp $USER /media/iphone
ifuse /media/iphone
Finally you can access it - e.g. with the file browser thunar:
thunar /media/iphone
Before unplugging the iPhone, unmount the storage:
ifuse -u /media/iphone
Source: maketecheasier.com

Convert HAIC Pictures to JPEG

First you have to install a converter software:
sudo apt-get install libheif-examples
Than you can convert the pictures:
for file in *.heic; do heif-convert $file ${file/%.heic/.jpg}; done
Source: askubuntu.com