Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by aoakley (5268) on 2005.06.08 5:57 (#40973) Homepage
    Hmm. When JonM borrowed my USB flash card reader, he plugged it into his Linux laptop and said it just mounted it under /mnt automatically. Does OSX/BSD not do this? I'd have thought there would have been a simpler way via fstab to mount the device as straightforward storage, thus making it just as accessible as any folder via Perl, Bash etc. So then it's just a case of moving some files using a script, and firing off a commandline to launch the app with that directory as a parameter, surely?
    • OSX not only mounts it immediately, but it also launches an app you pick to copy the files off.

      I don't want to plug it in, then have to find a terminal window that isn't ssh'd into somewhere else, then type in the name of an application/script. OSX does this all for me. Now all I have to do is click "Start".

      The complication comes in that apple has special Foo.app applications which are really a directory of binary + everything it needs to run. The application that you pick to copy the files off the drive
      • An applescript can be saved as an .app file. I've been using that for startup items to call scripts in my $HOME/bin.
        --
        • Randal L. Schwartz
        • Stonehenge
        • Yeah I think you told me that before. I think CamelBones might just be easier than AppleScript though :-)