How to show in path n1 all but same files/folders of path n2?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Madma
Posts: 10
Joined: Fri Sep 15, 2017 2:53 pm

How to show in path n1 all but same files/folders of path n2?

Post by Madma »

Hello everyone!
Hope someone can help me.

I'm writing you because I'd like to know if there's a way to achieve such a result:

I have two paths, both with similar folder structure, but I'd like Everything to show only the differences between those two paths.


I'm pretty sure I should use something with the syntax "dupe:" but I'm not sure how to say "all but dupe: in path 1 when comparing it with path 2"

The problem is that "dupe:" shows only duplicates in the same path, right? ... Or can I also use "dupe:" to compare two different paths?

Then the only problem would be: how to say "invert dupe:".

hmmm.... am I asking too much maybe?

Any hint is really appreciated.

Thank you.

Regards,

Madma
void
Developer
Posts: 16856
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to show in path n1 all but same files/folders of path n2?

Post by void »

Everything can not easily show the difference between two folders.
I'll consider adding an option to do this..

The long complicated way of doing this will require you to export both paths as a file list and modifying the file lists slightly...
  • In Everything, search for the first path of interest (folder A)
  • For example, search for:
    "C:\path to\Folder A\"
  • From the File menu, click Export.
  • Change Save as type to EFU File list.
  • Choose a filename and click Save.
  • Search for the second path of interest (folder B)
  • For example, search for:
    "D:\path to\Folder B\"
  • From the File menu, click Export.
  • Change Save as type to EFU File list.
  • Choose a filename and click Save.
  • Open the EFU file list of Folder A with your favourite text editor.
  • Remove the "C:\path to\Folder A\" from the start of each filename.
  • Open the EFU file list of Folder B with your favourite text editor.
  • Remove the "C:\path to\Folder B\" from the start of each filename.
  • You can now either:
    • 1). Use your favourite diff tool to compare the files
      2). Open one of the filelists in Everything and use the Search -> Advanced Search -> Search for a list of file names.
      • Prefix the filelist: search with !
        For example, the search should look something like:
        !filelist:"subfolder\filea.txt|subfolder\fileb.txt|..."
        Note: the search edit is limited to 4000 characters so it makes this difficult.
        Note: this will list all the files found in Folder A, that do not exist in Folder B
        Note: Open the file list of Folder B and search for the !filelist of Folder A to do the reverse.
Madma
Posts: 10
Joined: Fri Sep 15, 2017 2:53 pm

Re: How to show in path n1 all but same files/folders of path n2?

Post by Madma »

Thank you so much! Now I'll test it.

Not the quickest way, but definitely doable! thank you

and thanks for considering it as an future update.
void
Developer
Posts: 16856
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to show in path n1 all but same files/folders of path n2?

Post by void »

I wrote a program back in 2011 called "New Shit" that compares folders:


/newshit.zip

Maybe something similar could be implemented in Everything...
Post Reply