From: Arup Rakshit Date: 2013-01-30T23:44:38+09:00 Subject: How to copy the directory files only to another directory? Hi, Consider the below file system: C:\ | -------------------------------------------------- | | | | Test1 Test2 Test3 Test4 | | | | ------------ c.txt e.docx ------------- | | | | a.pdf b.pdf m.txt aa.pdf Now I want to copy only regular files from the "C:\" to "D:\document". Can anyone help me here for the same? -- Posted via http://www.ruby-forum.com/.