From: SamF Date: 2007-03-15T00:25:57+09:00 Subject: Copying files and changing their names Hi all, I have a directory with numerous folders, each of which contains numerous folders and/or files. Each of the files in each of these folders has a number. I want to iterate through all these files, and, for every file that ends in a '[filename]-9', I want to COPY the file and rename it '[filename]-final'. Is there a simple way to do this in Ruby? Any help much appreciated! Sam -- Posted via http://www.ruby-forum.com/.