From: Gennady Bystritsky Date: 2004-05-09T04:56:41+09:00 Subject: Re: Move a folder You can use File.mv from the standard ftools library: require 'ftools' File.mv "/folder1/foo", "/folder2/foo" For this to work you must make sure that "/folder2" exists. Gennady. On May 8, 2004, at 12:38 PM, Dirk Einecke wrote: > Hi. > > I want to move a folder from "/folder1/foo" to "/folder2/foo". I can > not find a function for moving a folder. Is it right that I've to copy > the src-folder (with FileUtils.cp_r) and then remove this one from the > old src? > > greeting > Dirk Einecke > > Sincerely, Gennady Bystritsky