Subject: FileUtils.cp_r - works with regex?
From: Edouard Dantes <edrd.dantes gmail.com>
Date: Mon, 9 Feb 2009 16:50:19 +0900
Hi,
I try to copy files that match a certain pattern to another dir, i write
cp_r /\/downloads\/bsd/i, "~/biblio/bsd/"
if i can use regex to do this what is wrong in my approach?
thanks for comments
--
Posted via http://www.ruby-forum.com/.