This works with 1.8, perhaps earlier versions too:
require 'fileutils'
include FileUtils
# Recursively copy the first directory into the second
cp_r "/path/to/source", "/path/to/dest"
--
Michael Granger <ged at FaerieMUD dot org>
Rubymage, Architect, Believer
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.