1. Joined : Apr 2016
    Posts : 93
    Win 7,8.1 ,10
       2 Weeks Ago #1

    Find like files of single folder across whole computer


    I want to use a single folder as a base for file compare but scan the whole computer for like or same file/folder names.My archive folders are as fragmented as my mind. 0-o
      My System SpecsSystem Spec


  2. Joined : Feb 2016
    Phoenix, AZ
    Posts : 111
    Windows 10 Pro 1607 14393.576
       1 Week Ago #2

    You may want to look at CCleaner. It has a function to report duplicate files on an entire disk.
      My System SpecsSystem Spec


  3. Joined : Apr 2016
    Posts : 93
    Win 7,8.1 ,10
       1 Week Ago #3

    storageman said: View Post
    You may want to look at CCleaner. It has a function to report duplicate files on an entire disk.
    Was hoping one program could work to com pare a folder to all hardrives. Blah
      My System SpecsSystem Spec

  4.    1 Week Ago #4

    Gosh, this is something that could be scripted out but nothing that I'm aware of a program already supporting. Because the contents of the "base folder" defines a well-circumscribed universe of object to match, it's not a terribly difficult program. The only enhancement I'd suggest is to test hits to see if they're also hard-linked files. That's because each link to a single copy of a file will be reported as a duplicate, even though there's really only one physical copy plus a bunch of links...
    Pseudo-code:
    For all files in "base folder"
    Set search target
    Search all drives for matches to search target
    Check if hit is linked file of some kind
    Report non-linked files as duplicate --or-- take action on duplicate

    HTH,
    --Ed--
      My System SpecsSystem Spec


  5. Joined : Apr 2016
    Posts : 93
    Win 7,8.1 ,10
       1 Week Ago #5

    EdTittel said: View Post
    Gosh, this is something that could be scripted out but nothing that I'm aware of a program already supporting. Because the contents of the "base folder" defines a well-circumscribed universe of object to match, it's not a terribly difficult program. The only enhancement I'd suggest is to test hits to see if they're also hard-linked files. That's because each link to a single copy of a file will be reported as a duplicate, even though there's really only one physical copy plus a bunch of links...
    Pseudo-code:
    For all files in "base folder"
    Set search target
    Search all drives for matches to search target
    Check if hit is linked file of some kind
    Report non-linked files as duplicate --or-- take action on duplicate

    HTH,
    --Ed--
    Well I only need to roughly match a folder name or the name of the file within the base folder but not the files in the sub folders. Then run a search per HDD letter for a single file type.

    This may be doable with Windows command line search tool but I am unsure, just have it output to a text file but again I am unsure of it all.


    I am a scattered brained fool thus I need esoteric things to un paint myself out of a corner LOL
      My System SpecsSystem Spec

  6.    1 Week Ago #6

    Yes, you could do it either in a batch (.BAT) file or in a PowerShell (.PS1) script file. I can provide pointers to good reference and resource materials on either or both of these environments, if needed.
    HTH,
    --Ed--
      My System SpecsSystem Spec


  7. Joined : Apr 2016
    Posts : 93
    Win 7,8.1 ,10
       1 Week Ago #7

    EdTittel said: View Post
    Yes, you could do it either in a batch (.BAT) file or in a PowerShell (.PS1) script file. I can provide pointers to good reference and resource materials on either or both of these environments, if needed.
    HTH,
    --Ed--
    Which would be better for this? PS seems to be replacing bats bit by bit so PS would be if just to learn a bit more about it..
      My System SpecsSystem Spec


  8. Joined : Apr 2015
    Posts : 149
    Windows 10
       1 Week Ago #8

    Try PS if you want learning experience but the task itself could be much easier if you try using a dup file cleaner. I use DuplicateCleaner from Digital Volcano. I use the Pro version so you'll need check all functionality you need is also in their freeware version. To make searching easy, I'd move the Base Folder to a separate volume so you can compare it to all other volume(s) on computer. It allows for Similar filename as search criteria but never tried that option

    Here's sample snapshots for setting Scan Location and Search Criteria based on v3.2.7. (They have a newer version out i haven't upgraded to yet. imagine it has still more options/flexibility)

    Click image for larger version. 

Name:	Location.jpg 
Views:	1 
Size:	117.1 KB 
ID:	116492Click image for larger version. 

Name:	Criteria.jpg 
Views:	1 
Size:	130.6 KB 
ID:	116493
    Last edited by ComputerGeek; 1 Week Ago at 23:56.
      My System SpecsSystem Spec

  9.    1 Week Ago #9

    Great suggestions, ComputerGeek! I'll have to try this for myself. And FWIW, I also agree with your advice about tackling PowerShell instead of the batch files/command line. MS has clearly indicate that while cmd.exe is not going away, PowerShell is the admin automation platform for today and tomorrow.
    Thanks!
    --Ed--
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Block all programs in a single folder with firewall?
Can one block all of the programs in a folder with the Win 10 firewall instead of blocking each single program separately: http://i.imgur.com/NIcIWxS.png http://i.imgur.com/Tu1yJlz.png http://i.imgur.com/hwmNhf6.png
AntiVirus, Firewalls and System Security
Solved Setup/use a single networked music folder?
Hello, Iím trying to figure out a way to use a single network folder for my music across three local computers. Iíd like to just be able to point the folder to a location on a networked laptop so that I donít have to maintain and use the space on...
Network and Sharing
Search doesn't find files! At least in my Google Drive folder...
Thanks for helping; I press Start I type hello Windows finds files containing 'hello' Problem: I press Start I type the filename of any files I know exist in my Google Drive folder (c:/users/Luke/Google Drive)
General Support
admin user or any user folder not avaliable in the my computer files
while try to write a path for addons such as a game, there is no user available in the folder is anyone else on windows 10 having this problem?
General Support
Does Anyway To Change Start Menu Single Folder Icon Color?
Hello everyone. I wanna change single folder color on the start menu. Not all of them. For example check this screenshot i made it. Thanks. 32071
Customization
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 19:22.
Find Us
Twitter Facebook Google+



Windows 10 Forums