没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > rubybackup |
rubybackup
|
0 | 0 | 0 |
贡献者 | 讨论 | 代码提交 |
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.
