From: Stefan Lang Date: 2008-08-07T08:52:49+09:00 Subject: Re: Help copying files 2008/8/7 Bob Miner : > Hi, > I'm tryin to have Ruby copy some files so I don't have to :D > > I can make the Directories, but apparently I need FTOOLS to actually > copy some files from hither to yon. > > I can't seem to find FTOOLS.....anybody know where to get it? And > then.... > where do I put it so Ruby can "see & use" it. > > OR.... > > Is there a different/better way to copy files than FTOOLS? Use FileUtils: require "fileutils" FileUtils.cp src, dest ri has lots of documentation about it! Stefan