Ahhhh S^*t!

I am a Mac newbie and Hazel newbie. (a lethal combination) I created my first rule the desired objective was to look at every folder and remove any duplicate files. The best I can tell it copied every folder's content to all the folders on the desktop.
When I awakened my Mac this morning it had a very nice error message that there was no application memory available. I put a new 1 TB drive in the Mac less than 3 weeks ago. How could I be out of application memory? I start looking in folders the whole desktop is in each one. Is there an UNDO command somewhere? Thanks for your help.
When I awakened my Mac this morning it had a very nice error message that there was no application memory available. I put a new 1 TB drive in the Mac less than 3 weeks ago. How could I be out of application memory? I start looking in folders the whole desktop is in each one. Is there an UNDO command somewhere? Thanks for your help.