gphoto2://[usb:002,005]/DCIM/100APPLE

Bill Moseley moseley at hank.org
Thu May 14 14:05:07 UTC 2009


I use a custom Perl script for importing photos from my cameras.
The media from the camera always mounts to the same location.

But, my iPhone is mounted by Gnome (I assume) and doesn't always seem
to be the same location.  Sometimes it does, but I had my script
pointing to the mount point and just now it mounted to a new location.

Right now it's:

    $ ls /home/moseley/.gvfs
    gphoto2 mount on usb%3A002,005

And in Nautilus it shows a location of 

    gphoto2://[usb:002,005]/DCIM/100APPLE


Two questions:

1) Is there a way to make sure it mounts in the same place ever time?

2) How can I run a script upon mounting and have the script passed
the location of the mount point?

Thanks,

-- 
Bill Moseley
moseley at hank.org
Sent from my iMutt





More information about the ubuntu-users mailing list