From: Alex Young Date: 2006-06-13T01:08:57+09:00 Subject: Re: Moving Files from a CGI Script Nathan Olberding wrote: > I'm looking to use a CGI script to move / rename a directory. I can't > find anything under Dir:: or File:: that looks appropriate and making a > shell command `in back-ticks` is out of the question as I'm using POST > data to determine which directory to move. What's the appropriate > mechanism for moving files in Ruby? > Will FileUtils::mv do what you want? -- Alex