From: Joel VanderWerf Date: 2004-05-07T14:47:51+09:00 Subject: FileUtils.mv and the :force option The :force option is mentioned in the docs, but it is rejected by FileUtils.mv. It's easy enough to use a 'rescue Errno' suffix to get this behavior, so I'm not proposing it should be implemented as an option to the method. Maybe just remove it from the documentation, then? ----------------------------------------------------------- FileUtils#mv mv(src, dest, options = {}) ------------------------------------------------------------------------ Options: noop verbose Moves file(s) +src+ to +dest+. If +file+ and +dest+ exist on the different disk partition, the file is copied instead. FileUtils.mv 'badname.rb', 'goodname.rb' FileUtils.mv 'stuff.rb', 'lib/ruby', :force => true