Include just one folders

If you are experiencing problems with "Everything", post here for assistance.
brokenkernel
Posts: 4
Joined: Wed Sep 25, 2024 10:36 pm

Include just one folders

Post by brokenkernel »

Hi guys!
Everything is one of the main reasons why I'm still using windows. Thank you for the best search engine I've seen so far.

Before, I had all my files on D:\nextcloud but I had to merge my files to C:\Users\admin\Nextcloud. I only want to search files and folders in "C:\Users\admin\Nextcloud".

Pasting the path in the search bar works.
image.png
It shows 120.504 objects - all I have in the nextcloud.

But the "Include only files" doesn't work as expected.
2024-09-25 17_46_37-Everything Options.png
2024-09-25 17_47_31-Everything.png
I also played arount with RegEx for the Filter so that everything but C:\Users\admin\Nextcloud should be excluded, but I couldn't do it.

I really appreciate any ideads on how to fix this :)
You do not have the required permissions to view the files attached to this post.
therube
Posts: 5727
Joined: Thu Sep 03, 2009 6:48 pm

Re: Include just one folders

Post by therube »

You could set up a Filter.
(Search, Add to filters...)

Name: Nextcloud
Search:
file: c:\users\admin\nextcloud


The just switch to that Filter when you want to search "Nextcloud".


!folder:
will also search for files (or, NOT folders).
void
Developer
Posts: 19902
Joined: Fri Oct 16, 2009 11:31 pm

Re: Include just one folders

Post by void »

Please try the following:
  • In Everything, from the Tools menu, click Options.
  • Click the NTFS tab on the left.
  • Select your C: drive.
  • Change Include only to:
    Users\admin\Nextcloud

    (note the missing c:\ prefix)
  • Click OK.
brokenkernel
Posts: 4
Joined: Wed Sep 25, 2024 10:36 pm

Re: Include just one folders

Post by brokenkernel »

Hi guys and thank you for your answers :)

Unfortunately, neither of the both options work. I tried both options separately.
image.png
image.png
You do not have the required permissions to view the files attached to this post.
Last edited by brokenkernel on Fri Sep 27, 2024 4:07 am, edited 1 time in total.
void
Developer
Posts: 19902
Joined: Fri Oct 16, 2009 11:31 pm

Re: Include just one folders

Post by void »

Please try the following:
  • In Everything, from the Tools menu, click Options.
  • Click the NTFS tab on the left.
  • Uncheck automatically index new fixed volumes.
  • Uncheck automatically index new removable volumes.
  • Uncheck automatically remove offline volumes.
  • Select your C: drive.
  • Change Include only to:
    c:\Users\admin\Nextcloud

    (note the missing c:\ prefix) -edit: the c:\ prefix is required.
  • Select your PortableBaseLayer drive.
  • Uncheck Include in database.
  • Select your V: drive.
  • Optionally, uncheck Include in database.
  • Click the Exclude tab on the left.
  • Select file: c:\users\admin\nextcloud and click Remove.
  • Click OK.
ChrisGreaves
Posts: 821
Joined: Wed Jan 05, 2022 9:29 pm

Re: Include just one folders

Post by ChrisGreaves »

therube wrote: Thu Sep 26, 2024 5:45 pmYou could set up a Filter.
Thank you :clapping:
I needed this nudge!
Cheers, Chris
brokenkernel
Posts: 4
Joined: Wed Sep 25, 2024 10:36 pm

Re: Include just one folders

Post by brokenkernel »

Thanks for your answer, but it still doesn't work.
image.png
image.png
image.png
image.png
image.png
It shows 0 objects.
image.png
Did I do something wrong?
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 19902
Joined: Fri Oct 16, 2009 11:31 pm

Re: Include just one folders

Post by void »

Please add your Nextcloud folder as a folder index:
  • In Everything, from the Tools menu, click Options.
  • Click the NTFS tab on the left.
  • Select your C: drive.
  • Uncheck Include in database.
  • Click the Folders tab on the left.
  • Click Add folder...
  • Select c:\users\admin\nextcloud and click OK.
  • Click OK.
brokenkernel
Posts: 4
Joined: Wed Sep 25, 2024 10:36 pm

Re: Include just one folders

Post by brokenkernel »

Hi :)
By doing that I would lose the feature that I see instantly changes, because I rely on the folder scan every x minutes, right?
therube
Posts: 5727
Joined: Thu Sep 03, 2009 6:48 pm

Re: Include just one folders

Post by therube »

(note the missing c:\ prefix)
Can you do that?
Best I can tell is that the c:\ is needed, a full path to the folder is needed (in the Include only: dialog).

To me, seems that c:\users\admin\nextcloud should be working?

Other then in Indexes -> NTFS, do you have other items in the other entries under Indexes that may be adding back in what is not included in your NTFS:C: setting?

Is there anything "special" with the "nextcloud" directory?


As a test, set up a new "Profile", using a separate instance that you start (initially) with the -no-auto-include switch, & then set C: to be included, but have it Include only: some temporary directory, say, C:\ionlywantfiles.dirs.includedhere\.

With that, does it not only see files/directories within C:\ionlywantfiles.dirs.includedhere\ ?


Oh, & you're on Everything 1.4.
I wonder if that matters?
Nope. It should be the same.


In your 2nd shot above, here viewtopic.php?p=70604#p70604, it looks like you Excluded: nextcloud (maybe).
(It says, Exclude folders: & you have "file:" include there, & while you may be able to put something that ends up making the request invalid, I believe, in that case, it shouldn't really be affecting thing.)
Be sure to remove that entry, & add C:\ to the nextcloud entry in Include only:.
void
Developer
Posts: 19902
Joined: Fri Oct 16, 2009 11:31 pm

Re: Include just one folders

Post by void »

Can you do that?
You are correct.
I have mistaken include-only with the root-path which is relative...

the C:\ is required.



What's thrown me off is include-only was set to c:\users\admin\nextcloud and was not working.
Maybe an exclude was also set at the same time?


To me, seems that c:\users\admin\nextcloud should be working?
Yes, it should be from the first screenshot.



Please try the following:
  • In Everything, from the Tools menu, click Options.
  • Click the NTFS tab on the left.
  • Select your C: drive.
  • Check Include in database.
  • Set Include only to:
    c:\users\admin\nextcloud

  • Click the Folders tab on the left.
  • Select c:\users\admin\nextcloud
  • Click Remove.
  • Click OK.
brokenkernel
Posts: 4
Joined: Wed Sep 25, 2024 10:36 pm

Re: Include just one folders

Post by brokenkernel »

Yep, that works! :) Thank you!!!
image.png
Just showing my 120k elements :)
image.png
You do not have the required permissions to view the files attached to this post.