I use leading spaces to name directories that I want to appear at the top of directory listings.
Using the pipe character to exclude these directories from file searches does not work.
Cannot exclude directories with leading spaces from search
Moderators: Hacker, petermad, Stefan2, white
Have you tried to enclose dir names with spaces to double quotes? Just tried it now:
This search request finds every files except files in folders with names that begin with spaces.
Code: Select all
* | " *\"