Be sure to review our Idea Submission Guidelines for more information!
Submission GuidelinesBoth of these can be partially accomplished with the output of the directory tool:
- List Directories - Summarize unique list of directories from the directory tool output
- Exclude Paths - use filter tool to exlude files or directories based on patterns
However, here are some scenarios that aren't addressed cleanly:
- Directories are not listed unless there is a file contained within. The tool is called Directory, but it only lists files. The directory has to be non-empty to be listed. An option is needed to either list files and/or directories (including empty optionally)
- I can't figure out whether the file specification is a wildcard expansion only or supports regular expression for inclusion/exclusion. I see in the File Browse tool that you can list multiple formats e.g. Text Files (*.txt)|*.txt|All Files (*.*)|*.*. Here is a use case where this is required. Our network shares have Windows file restore snapshots stored in a ~snapshot directory. We don't want the directory tool to traverse this directory (because it literally takes hours to scan), but there isn't an elegant way to exclude it. If you filter it from the directory tool output, it's already scanned it. What we've done is generate the top-level directory list outside of the tool and fed it into a macro that has a directory tool (with sub-directory scanning enabled) inside.
- Another way to address this specific scenario woudl be to have an option to exclude traversal of "hidden" folders. But a more generic approach is ideal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.