Just display parent folder without subfolders
Just display parent folder without subfolders
Currently I have to use a different device, not my usual desktop, with Everything setup with a bunch of filters, bookmarks, etc.
A laptop with a 'clean' Everything.
I went back and forth here to find a way to have just a parent (root) folder on various drives displayed, so like
X:\Folder
Y:\Folder
Z:\Folder
without the subfolders I mean.
I forgot...ahum.
Any suggestions?
Thanks.
A laptop with a 'clean' Everything.
I went back and forth here to find a way to have just a parent (root) folder on various drives displayed, so like
X:\Folder
Y:\Folder
Z:\Folder
without the subfolders I mean.
I forgot...ahum.
Any suggestions?
Thanks.
Re: Just display parent folder without subfolders
If you are using the Folders sidebar, please uncheck subfolders at the bottom of the Folders sidebar.
Re: Just display parent folder without subfolders
Thanks for the comments.
Feel very sorry to say, but believe neither one worked out the way I would like. Again sorry.
Meanwhile, I found it...
Using 'depth'
So, like:
folder:X:\Photos;Y:\Photos;Z:\Photos depth:1
If the folder contains the word 'Photos' as a part of the name it will also be listed though, like Z:\Photoshop
X:\Photos
Y:\Photos
Z:\Photos
Z:\Photoshop
FWIW and AFAIK adding a backslash to the path so as to 'limit' to search for photos folder only,i.e. exclude photoshop, so like:
folder:X:\Photos\;Y:\Photos\;Z:\Photos\ depth:1 won't work.
Thanks again.
Feel very sorry to say, but believe neither one worked out the way I would like. Again sorry.
Meanwhile, I found it...
Using 'depth'
So, like:
folder:X:\Photos;Y:\Photos;Z:\Photos depth:1
If the folder contains the word 'Photos' as a part of the name it will also be listed though, like Z:\Photoshop
X:\Photos
Y:\Photos
Z:\Photos
Z:\Photoshop
FWIW and AFAIK adding a backslash to the path so as to 'limit' to search for photos folder only,i.e. exclude photoshop, so like:
folder:X:\Photos\;Y:\Photos\;Z:\Photos\ depth:1 won't work.
Thanks again.
Re: Just display parent folder without subfolders
(Just noting; depth:, parent-count:, & parents: are synonyms.)
-
- Posts: 18
- Joined: Tue Mar 19, 2019 12:40 pm
Re: Just display parent folder without subfolders
So I've also finding the solution for this so long, @void would be you please consider add some option in the future alpha.
To be clear, the thing I 'm looking is: if the some folder or file is found in the search result then ignore it's child files/folders in search result.
D:Working files
D:Working files\Jan\Week1
D:Working files\Jan\Week2
D:Working files\Jan\Week3
Let's with different search parameters I narrowed down the search to Jan then it should not show the Jan child items. In other words if the parent items is in the search result then ignore it's child items.
To be clear, the thing I 'm looking is: if the some folder or file is found in the search result then ignore it's child files/folders in search result.
D:Working files
D:Working files\Jan\Week1
D:Working files\Jan\Week2
D:Working files\Jan\Week3
Let's with different search parameters I narrowed down the search to Jan then it should not show the Jan child items. In other words if the parent items is in the search result then ignore it's child items.
Re: Just display parent folder without subfolders
Does disabling Match Path give you the desired results?
(Menu => Search => Match Path )
(Menu => Search => Match Path )
-
- Posts: 18
- Joined: Tue Mar 19, 2019 12:40 pm
Re: Just display parent folder without subfolders
Yes, it can work at some level but mostly the search has to be the precise, math path gives us almost fizzy search power. The option I'm saying is totally new as to just show the parent items only not the child.
As there is child function may be there can be an function where it is parent only?
Re: Just display parent folder without subfolders
CAn you give an example of one of these searches?
-
- Posts: 18
- Joined: Tue Mar 19, 2019 12:40 pm
Re: Just display parent folder without subfolders
Let's say I'm searching vivaldi folder with the path search on, the first desired item is on top when sorted by path and all the remaining items are children of Vivalid\Local. So my suggestion is there should be an option to show parent items only. Please see the following screenshot:
https://imgur.com/a/VG8nHCx
This may seem okay to you as I can ignore the remaining result, but this doesn't work as the other folder in program are hidden with hundreds of other result.
Another example is let's say I'm searching all the folder with the name of January, naturally there will be many folders with the same name and so many sub folders also. It will show all the folder and file.
I say by having this option only greatly enhance the fuzzy search with accuracy. Let's say I'm finding the file of the specific client with specific project in January month. I can type Client Joe Video Project Jan invoice.pdf and this search will show the only relevant file as all other invoice.pdf will not meet the other parameters. Only with some option to ignore child and siblings files/folder.
Hope it's clear now
Re: Just display parent folder without subfolders
Try it with:
When Match Path is enabled.
This will search appdata anywhere and "vivaldi" just in the file/foldername (without path.
Or, with Match Path disabled:
Or:
Code: Select all
appdata nopath:vivaldi
This will search appdata anywhere and "vivaldi" just in the file/foldername (without path.
Or, with Match Path disabled:
Code: Select all
path:appdata vivaldi
Or:
Code: Select all
**appdata**\*vivaldi*
Wildcard matching
** = match any character any number of times.
* = match any character except \ any number of times.
? = match a single character except \
-
- Posts: 18
- Joined: Tue Mar 19, 2019 12:40 pm
Re: Just display parent folder without subfolders
Yes it kinda works but not entirely see the results in the image: https://i.imgur.com/GBNtfLo.png
See the following example:
Let's If I want to search the theme folder in John doe client, I may write "clients John website" naturally it will show the website folder including all folder under this. This is a really simplified version in real world the folder structures can be big and unorganized and finding the files of the common
name can be daunting.
See the following example:
Code: Select all
Clients
│
├── John_Doe
│ ├── Website
│ │ ├── Theme
│ │ ├── Code
│ │ ├── Mockup
│ │ └── Images
│ │ ├── Subfolder_1_1
│ │ └── Subfolder_1_2
│ ├── Social
│ └── Video
│
├── Jane_Smith
│ ├── Website
│ │ ├── Theme
│ │ ├── Code
│ │ ├── Mockup
│ │ └── Images
│ ├── Social
│ │ ├── Subfolder_B_1
│ │ └── Subfolder_B_2
│ └── Video
│
└── Alex_Johnson
├── Website
│ ├── Theme
│ ├── Code
│ ├── Mockup
│ └── Images
├── Social
│ └── Subfolder_Y_1
└── Video
name can be daunting.
Re: Just display parent folder without subfolders
You mean you don't want results with vivaldi in the name, but only folders that are named vivaldi?
Code: Select all
appdata nopath:exact:vivaldi
Something like the following?rabbit_says wrote: ↑Tue May 07, 2024 6:31 pm If I want to search the theme folder in John doe client
Code: Select all
"john doe" \theme\
-
- Posts: 18
- Joined: Tue Mar 19, 2019 12:40 pm
Re: Just display parent folder without subfolders
No dear, all these are the workarounds and surely there would be many. But all I'm saying a function need to ignore children and siblings. Just this.
and BTW can we combine two function together "nopath:exact:vivaldi"? as in my testing It didn't produce any results?