Copy folder tree is an AppleScript that duplicates a folder structure from a selected node into another selected folder.
It will optionally copy or move files of certain types that it finds in the process.
The script was written for a specifc purpose, but hopefully the ideas can be used to suit similar needs. I was helped along by scripts posted here by Dan Decker and Robert Metzker, so I thought I'd share the results.
The particular need for this script was to duplicate the folder structure of the iTunes Music Library into a spot where it would get backed up, but not copy the music files themselves. What I wanted to back up were the image files I had found/created, and in the process remove them from the library, since they didn't seem to "belong" there.