• 0 Posts
  • 1 Comment
Joined 8 months ago
cake
Cake day: April 14th, 2026

help-circle
  • There’s a different aproach, you can try mounting your iphone storage using ifuse (just search for “linux ifuse mount iphone storage”) there are plenty of tutorials out there. Once you have your iphone storage mounted use find(1) to search for certain file sufixes and then copy it to a new directory. The thing about recommending find(1) is that, if I remeber it right, there’s no /home/user in your iphone, images and files are distributed across an incomprensible directory hierarchy. If I’m wrong then just locate where your files are and move the whole directory.

    First create a folder, make sure you have plenty space in your disk.

    mkdir /home/user/iphone_rescue_backup

    Then if your iphone is mounted in /media/iphone you can try

    find /media/iphone -type f -iname "*.jpg" -exec cp -vf {} /home/user/iphone_rescue_backup

    Of course that you are going to copy a lot of junk (thumbnails, in app small png and so) maybe try parsing a minimun file size

    find /media/iphone -type f -iname "*.jpg" -size +100k -exec cp -vf {} /home/user/iphone_rescue_backup

    Probably you are going to adjust your parameters, instead of jpg try png, pdf, mp4. I don’t known what types of files are used in iphone so you have to guest or search for it.

    This next examples don’t change or copy nothing, just prints what files find(1) had find with different parameters.

    find /media/iphone -type f -iname "*.png" -size +120k

    find /media/iphone -type f -iname "*.pdf"

    find /media/iphone -type f -iname "*.mp4" -size +500k

    More info in man 1 find