Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.