From: tamouse mailing lists Date: 2013-02-01T00:23:16+09:00 Subject: Re: How to copy the directory files only to another directory? On Thu, Jan 31, 2013 at 8:56 AM, Arup Rakshit wrote: > The above code during renaming deleting the file also from here > "File.absolute_path(fname)". When you rename something, you are moving it -- if you wish to retain those files in their original place, you need to copy them to the new destination, not rename them.