in reply to glob does not find non mounted directories

I'm not sure I see the problem.

You mention that the directory isn't mounted the first time you run the script. How could glob possibly detect things which do not exist in the directory yet?

Surely it should not try and rifle through your system files to figure out if something will auto-mount, or poke every possible directory name to see if it appears.

  • Comment on Re: glob does not find non mounted directories