From: Stuart Clarke Date: 2009-04-17T16:16:48+09:00 Subject: Re: Copying files and renaming dupes Ok I must of misunderstood the docs for it, in reflection I am thinking file.exist? Also, Robert what do you mean by creating a target name? Regards Stuart matt neuburg wrote: > Stuart Clarke wrote: > >> Hi all, >> >> I have a quick query. I am copying data from a hard drive into a folder >> structure, however some of files have the same name and >> therefore get overwritten by the most recent file with that name. I have >> been using file.identical to establish if the files match > > But that is not what File.identical? does. m. -- Posted via http://www.ruby-forum.com/.