From: Rove Monteux Date: 2004-02-03T05:09:49+09:00 Subject: Re: Nuby: I'am only want to copy a File! fileutils wouldnt do the trick, no ? http://www.ruby-doc.org/stdlib/libdoc/fileutils/rdoc/index.html Cheers Rove Daniel Bovensiepen wrote: >Hello, > >I am currently reading the book 'Programming Ruby' and during this time >I want to write same scripts with the new stuff I've learned. At the >moment I search a smart way to copy a file and I want to say sorry but I >didn't find a methode like FILE#copy(theNewFileName) or >FILE.copy(theOldFileName, theNewFileName). Is there another way to do >this? > >One way I find: >- open the file which I want to copy >- read each line and write each one into the new file at a the place I >want to copy it.. > >But that is not so smart like the other stuff of ruby.. > >At last I want to say sorry for my bad english, it is so hard for me to >speak and write my native language and so there is no way for me to >write english a better way (-; > > > >best regards > >bovi > > > > > > -- Rove Monteux Systems Administrator rove.monteux@fluid-rock.com