From: Matthew Smillie Date: 2006-06-20T00:31:16+09:00 Subject: Re: Failing with Dir.glob results On Jun 19, 2006, at 15:11, Peter Bailey wrote: > Hello, > My script is failing at the following move command, right after the > capturing of a bunch of files in a directory. My glob is a big one. > It's > checking against 49 different file prefixes. Is that a problem? All I > want it to do for now is copy any files that conform to one of those > prefixes. What's the nature of the failure? Do you get any sort of error message? If you reduce the number of prefixes, does that solve the problem? For example, does this work: Dir.glob("{aacmc7, acm059}*.pdf") What about this? Dir.glob("aacmc7*.pdf") Sorry I can't answer specifically, but answering those questions ought to get you at least part of the way to what the real problem is. matthew smillie.