Compare the content of one folder with an entire drive?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ocdmax
Posts: 1
Joined: Wed May 08, 2024 9:13 am

Compare the content of one folder with an entire drive?

Post by ocdmax »

Moved from Compare 2 file lists with each other?

Hello can i use this to compare the content of one folder with an entire drive to see any files in that folder come across the other drive, or even the same drive but just comparing the files of that one folder.

dupe: does not work for me
similar: doesn't (not even sure if real command)

and i tried your macro by using ! in it and stuff.. no success.. :(

Basically my goal is to check my entire computer if i did not name those files somewhere else the same way.
Last edited by NotNull on Fri May 17, 2024 8:40 pm, edited 3 times in total.
Reason: Split
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Compare the content of one folder with an entire drive?

Post by NotNull »

ocdmax wrote: Wed May 08, 2024 9:42 am Basically my goal is to check my entire computer if i did not name those files somewhere else the same way.
Create a new Filter:

Code: Select all

Name  = Anywhere Else?
Search = file:   <[element:$param:,;,1]   A:=Source > | < ![element:$param:,;,1]  [element:$param:,;,2]   A:=Target>   dupe:name,!column-A
Macro = anywhere

How to use
  • Set the active filter to Everything
  • Search for:

    Code: Select all

    anywhere:"C:\first folder\";"D:\second fodler\"
    This will show files from "first fodler" that also exist somewhere in "second folder". It will show *A* match in "second folder", not all matches.
  • If you want to search against the entire system, not only second folder, use the following search:

    Code: Select all

    anywhere:"C:\first folder\"

Note:
- Using ! (NOT) with dupe is not recommended(see discussion here), but it looks like it works as desired in this specific case.
- This has been tested *very* briefly, so please post your feedback.
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Compare the content of one folder with an entire drive?

Post by therube »

compare the content of one folder
By "content", I take it you mean the file names & not the actual contents of the files themselves.


(I'll note that it does not find duplicated file names within the same "one folder" tree.

So if you did a,
anywhere:c:\out;c:\

& c:/out had a c:/out/1/ directory & a c:/out/2/ directory
& both /1/ & /2/ had a file name of red.txt within, it would not be noted
(though file named c:/bin/red.txt would)


Otherwise, pretty nifty.)
defza
Posts: 30
Joined: Thu Apr 18, 2019 12:49 pm

Re: Compare the content of one folder with an entire drive?

Post by defza »

Check out the solution of viewtopic.php?p=67654#p67654

Something like:
  • Search for:

    Code: Select all

    file:  "X:\Download\Folder\"
  • Select all results ( CTRL + A)
  • Right-click one of the results in the Name column
  • Select Copy Name from the context menu to copy them to the clipboard
  • Change the search to (or use a new tab):

    Code: Select all

    filelist1:   dupe:name,size 
  • Right-click on filelist1:
  • Select Edit File List Slot
  • Paste the filenames from the clipboard (ctrl-v)
  • Click OK
  • Done (?)
Post Reply