From: "Charlie B." Date: 2012-04-11T03:57:37+09:00 Subject: Copy all files in a directory Still new to Ruby and feel silly having to ask such a simple question, but I can't find any examples of this on the web. I have files in Dir1. I want to copy all the files, and only the files, to Dir2. I don't always know the name of them or their extensions, I just want them all copied. Is there really nothing as simple as xcopy c:\dir1\*.* c:\dir2 ?? I can't find a wildcard argument under FileUtils.cp. Am I missing the painfully obvious solution here? -- Posted via http://www.ruby-forum.com/.