How do I exclude directories that has specific words in it. Once found I'd like that directory and its subtree to be excluded.
For e.g. **delete.later/**
doesn't work. I know though
path/to/a/specific/delete.later/** will work. But dont want to list every one of them.
Take a look at:
As that gives a number of examples on filtering.
Thanks, I looked at them but doesn't cover my question though!
dir/** - matches "dir/file.jpg"
- matches "dir/dir1/dir2/file.jpg"
Just use something like
I personally wouldn't use "." as it is a regex.
deletelater is not a directory name by itself. In my case it is part (suffix) of a directory name
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.