Hi all, my first post here.
I am often in a situation where I want to (when copying files) exclude a folder which has some usual name (e.g. temp) but I do not want to exclude the folders with the same name which are deeper than the one I want to exclude. Could that be done using exclude filter?
Example:
some_folder
├───first
│ └───temp <-- this I do not want to exclude
└───temp <-- this I want to exclude
I want to select and copy some_folder and its contents and I want to exclude the temp folder which is at the first level of the tree but I do not want to exclude the temp folder(s) which is/are at deeper levels.