From: ChrisH Date: 2007-02-15T01:25:10+09:00 Subject: Re: Problem with File.mv On Feb 14, 11:10 am, "Rebhan, Gilbert" wrote: ... > but i want all in C:/test1 copy over to C:/test2 but without > the roodir /test1 itself > > How to cp_r but without the root of src ? >From the docs on File.cp_r: # If you want to copy all contents of a directory instead of the # directory itself, c.f. src/x -> dest/x, src/y -> dest/y, # use following code. FileUtils.cp_r 'src/.', 'dest' # cp_r('src', 'dest') makes src/ dest, # but this doesn't.