IPhone – How to access a connected iPhone device from within Terminal

filesystemiphonemacterminal

How can I access the connected iPhone or iPad from within Terminal on OS X? I want to get all the photos (only photos) from the connected iDevice and save it to any directory in my OS X filesystem. I don't want to use the iTunes and instead just want to do it all within Terminal.

I want to get the file path like /Volumes/my_iphone_name, but for some reasons I didn't find anything such in /Volumes subdirectory. Also, diskutil list didn't get me anything that seems related to the connected device.

So where is there my iPhone detected on the entire filesystem?

Best Answer

This is probably not the answer you're looking for, but apparently this can't be done. Please see this question: iOS mount point in macOS