I want to write a ruby script to recursively copy a directory structure, but exclude certain file types. So, given the following directory structure:
folder1
folder2
file1.txt
file2.txt
file3.cs
file4.html
folder2
folder3
file4.dll
I want to copy this structure, but exlcude .txt and .cs files. So, the resulting directory structure should look like this:
folder1
folder2
file4.html
folder2
folder3
file4.dll