Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

WilliamTM

macrumors member
Original poster
Jul 21, 2008
95
35
Stafford, UK
So, I had a pretty good idea today. At the moment, if I want to get photos off my iPhone, I have two options.
  1. Use SFTP to connect to it, then download the photos from /private/var/mobile/Media/DCIM/100APPLE and screenshots from /private/var/mobile/Media/DCIM/999APPLE (this works over WiFi too, which is nice).
  2. Plug the iPhone into my Mac and use Image Capture.app to download the files.
However, that's annoying. Now, I was thinking, would it be possible to script this somehow to do it automagically? Basically, an icon on my desktop (or something like that) which, when opened, does the following:
  1. Connects to 192.168.1.6 (my iPhone's IP), and logs in to SFTP (usual stuff: root/alpine).
  2. Navigates to /private/var/mobile/Media/DCIM/100APPLE and downloads only the JPG files within that folder to my desktop.
  3. Navigates to /private/var/mobile/Media/DCIM/999APPLE and downloads only the PNG files within that folder to my desktop.
  4. Closes the connection and any apps or whatever that are running that it opened (if necessary).
I'm sure this is possible (a friend mentioned it could be done with shell scripting), but I have zero knowledge of how that works or what to do, so I'm wondering if anyone here might know? :D
 
So, I had a pretty good idea today. At the moment, if I want to get photos off my iPhone, I have two options.
  1. Use SFTP to connect to it, then download the photos from /private/var/mobile/Media/DCIM/100APPLE and screenshots from /private/var/mobile/Media/DCIM/999APPLE (this works over WiFi too, which is nice).
  2. Plug the iPhone into my Mac and use Image Capture.app to download the files.
However, that's annoying. Now, I was thinking, would it be possible to script this somehow to do it automagically? Basically, an icon on my desktop (or something like that) which, when opened, does the following:
  1. Connects to 192.168.1.6 (my iPhone's IP), and logs in to SFTP (usual stuff: root/alpine).
  2. Navigates to /private/var/mobile/Media/DCIM/100APPLE and downloads only the JPG files within that folder to my desktop.
  3. Navigates to /private/var/mobile/Media/DCIM/999APPLE and downloads only the PNG files within that folder to my desktop.
  4. Closes the connection and any apps or whatever that are running that it opened (if necessary).
I'm sure this is possible (a friend mentioned it could be done with shell scripting), but I have zero knowledge of how that works or what to do, so I'm wondering if anyone here might know? :D

That would only work if you are at home. If you are home, just sync the iPhone to get the photos off, no? :)
 
So you think somehow that a 54Mbps wireless connection is going to be faster than a USB connection at 480Mbps? I'm confused here...

I don't get it either. iPhoto can DL 20 pics in less than 5 secs and delete them from the iPhone.

What's not to like. After all, you have to plug the phone in once and a while to sync it ???
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.