Give the path to the inserted USB key to a script
- by Xavier Nodet
I'd like to run a given Perl script whenever I connect my camera to my PC, so that this script will download all the photos on it. But as the drive letter for the camera may change depending on what's already connected, I need to pass this drive letter as an argument to the script. Is this doable?
Thanks.
PS: if this is not possible, an answer…