xml-blacklist - ruby task to strip nodes from xml documents
```./filter_xml_dir OPTION...```Copy all files from one directory to another, stripping out specified XML nodes from each file in the process.All files from SOURCE will be processed and copied to DESTINATION. Unless `--no-recurse` is supplied, all subfolders willbe copied as well. Only folders with files in them will be copied. File types are not checked. Symlinks are copied intonormal files by default, but with `--symlink=link` the target will be relinked (without change) in DESTINATION, or with`--symlink=ignore` will be ignored completely.Files with duplicate names will be overwritten. If `--nuke` is supplied, the entire DESTINATION folder will be destroyedbefore rebuilding it; otherwise, non-duplicate files will be kept. If `--backup` is supplied and DESTINATION alreadyexists, it will first be renamed with a timestamp representing its modification time, and a new folder will be built.The BLACKLIST file should contain a list of node names to be removed, one name per line. In theory, other CSS selectorscan be used as well, but this has not been tested and should be used with caution.
|Required arguments: |
|The folder where unprocessed XML files are stored. |
|The folder where processed XML files will be stored. |
|A text file containing names of XML nodes to be removed. |
|Optional arguments: |
|Will rename the DESTINATION folder before building another copy. |
| Will destroy the DESTINATION folder completely before rebuilding it. (Does nothing if |
--backup is also supplied.)
| The action to take with symbolic links. Can be one of: |
file - (default) processes and copies the target files into the DESTINATION folder.
link - copies the links and leaves the target files untouched.
ignore - does not copy symlinks.
|Will not copy subfolders from SOURCE. |
|Other options: |
|Show this message. |