I have the following filepaths
/vol/form/various.txt
/vol/var/sender.py
/vol/var/hello.txt
I would like to get all .txt
files that do not have the directory of form
in them. For example, something like:
*.txt AND ! */form/*
What would be the correct globbing pattern to do this -- i.e, in a single pattern (or is that not possible)?