Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to automatically run a script that rsync's my iphone's photo directory to a computer directory in linux whenever I connect via usb. The rsync should be straightforward, assuming I mount correctly, but everywhere I google about how to programmatically mount an iphone takes me to years old pages that want me to compile ifuse. Is there an obvious, easy way to do this?

share|improve this question
Is your question about rsyncing, or about mounting? – cpast Dec 31 '12 at 21:26
Look into UDEV rules to handle it and call your raync script from. If you get more clear in what part you need help with we could get you more in the right direction. – nerdwaller Dec 31 '12 at 21:38
I think I know how to edit the udev rules, but the script I would link to would have to know how to mount my iphone. I'm not sure how to do that. – David Berger Jan 1 '13 at 1:21

You must log in to answer this question.

Browse other questions tagged .