From: Dirk Einecke Date: 2004-05-09T06:48:56+09:00 Subject: Re: Move a folder Hi. Joel VanderWerf wrote: > 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? > > > FileUtils.mv works for me: Okay. Fine. I was a little bit insecure because in the code of the library you can read this for mv: # Moves file(s) +src+ to +dest+. So I thought it works only for files and not for folders too. Well - now it works fine and I'm happy :) greetings Dirk Einecke