"Jess Gabriel y Galn" <jgabrielygalan / gmail.com> wrote in post #1067364:
> On Wed, Jul 4, 2012 at 11:55 AM, Alex C. <lists / ruby-forum.com> wrote:
>>>> defined above it?
>>   file_path.start_with? ignore_folder
>> end
>>
>> FileUtils.copy Dir["#{original_path}/**/*.*"], target_path
>
>> Thats what I have, and it now copies all the files, but hasn't ignoreda
>> file thats in D:/Stuff/Ruby/2/ - which is what I wanted..hmmph
>
> FileUtils.copy copy_files, target_path
>
> you need to use the array you calculated previously.
>
>
> Jesus.

Thanks!

I only started looking at this yesterday and  haven't done any reading really - just wanted something quick, so appreciate it's been like talking to a 2 year old.

Anyway, it works - thanks again