in reply to Re^2: Rmtree with exclude
in thread Rmtree with exclude
Awesome man, glad i could help. Though i am sure any of the other examples would have did the trick as well ;)
Also, you should be very careful with remove_tree, and if possible add in absolute path to folder that you want to delete, that way the path that gets fed to remove tree is the exact folder you want deleted.
Upon revising this, I deleted a folder in the scripts dir that had the same name of a dir in the test dir (was my mistake for using the same folder name i guess). needless to say it had abunch of my perl scripts in it and now i am having to try to use recovery software to hopefully get them back.