A couple of simple classes for cleansing, copying and getting directories in sync. I'm forever trying to scrub directories of bad files, test files, backups from editors that leave the ~ in the file name. So, I just wrote a real simple directory tools class, you can use it to SCRUB, XCOPY, SYNC, or ZIP a directory and all subdirectories while avoiding a list of bad file name regular expressions that you supply. The second class parses a YAML file full of commands into the DIR TOOLS. This way you can automate tasks like SCRUB by directory of these file patters, XCOPY this directory to another directory, then ZIP this directory. In this way you can string as many of these commands together into one or many YAML files. In the end, I can automate a lot of my basic file clean ups with these two simple classes. If you find this useful, please let me know maybe I can invest more time into it, or develop a GUI, or something.
These details are provided for information only. No information here is legal advice and should not be used as such.