Page 1 of 1
Search for folders that doesn't have a particular file/folder?
Posted: Mon Mar 25, 2019 9:37 pm
by thorodin
Hi!
I'd like to use regular expressions and search for folders without a particular file/folder.
So let's say I want to look up all of my folders that doesn't have the file or folder called "Text", it'd return a list of folders without "Text".
I am not good at using regular expressions, so if anyone can help me, I'd be very grateful. Thank you
Re: Search for folders that doesn't have a particular file/folder?
Posted: Mon Mar 25, 2019 10:11 pm
by vanisk
will list all the files/folders except "Text"
Re: Search for folders that doesn't have a particular file/folder?
Posted: Mon Mar 25, 2019 11:52 pm
by thorodin
Sorry for making you misunderstand me
I don't want to exclude files and folders with "text" in the filename.
I want to exclude folders that have files and folders with "text" in the filename.
Re: Search for folders that doesn't have a particular file/folder?
Posted: Mon Mar 25, 2019 11:59 pm
by vanisk
thorodin wrote: ↑Mon Mar 25, 2019 11:52 pm
Sorry for making you misunderstand me
I don't want to exclude files and folders with "text" in the filename.
I want to exclude folders that have files and folders with "text" in the filename.
Sorry, my mistake.
This (might) work
Re: Search for folders that doesn't have a particular file/folder?
Posted: Tue Mar 26, 2019 12:24 am
by thorodin
Awesome, it worked. Thank you so much.
Is it possible to make it exclude files with the phrase "text" or "orange"?
Re: Search for folders that doesn't have a particular file/folder?
Posted: Tue Mar 26, 2019 12:37 am
by vanisk
thorodin wrote: ↑Tue Mar 26, 2019 12:24 am
Awesome, it worked. Thank you so much.
Is it possible to make it exclude files with the phrase "text" or "orange"?