in reply to Re: Directory listing
in thread Directory listing

Can you give my a syntax example? And how about CPU time, will this take longer than doing an ls and string matching? We've got a lot of folders to go through, and I'm looking for a relatively quick way to do it...

Replies are listed 'Best First'.
Re^3: Directory listing
by Tanktalus (Canon) on Jan 17, 2005 at 04:54 UTC

    "ls /usr/local/farms/*/*/input/*$corp*" is not recursive. File::Find isn't incredibly slow if there aren't any subdirectories under /usr/local/farms that aren't matched by /usr/local/farms/*/*/input, but glob is likely to be faster than File::Find.