Include just one folders

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
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
image.png (47.12 KiB) Viewed 1823 times
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_46_37-Everything Options.png (16.4 KiB) Viewed 1823 times
2024-09-25 17_47_31-Everything.png
2024-09-25 17_47_31-Everything.png (27.49 KiB) Viewed 1823 times
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 :)
therube
Posts: 4985
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: 16770
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 (165 KiB) Viewed 1780 times
image.png
image.png (110.12 KiB) Viewed 1779 times
Last edited by brokenkernel on Fri Sep 27, 2024 4:07 am, edited 1 time in total.
void
Developer
Posts: 16770
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: 684
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 (64.48 KiB) Viewed 1727 times
image.png
image.png (29.53 KiB) Viewed 1727 times
image.png
image.png (28.93 KiB) Viewed 1727 times
image.png
image.png (27.89 KiB) Viewed 1727 times
image.png
image.png (20.47 KiB) Viewed 1727 times
It shows 0 objects.
image.png
image.png (17.02 KiB) Viewed 1727 times
Did I do something wrong?
void
Developer
Posts: 16770
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: 4985
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: 16770
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
image.png (29.12 KiB) Viewed 1497 times
Just showing my 120k elements :)
image.png
image.png (20.3 KiB) Viewed 1497 times
Post Reply