How do i search for duplicates where at least one file is in a named folder and can the named folder use wildcards?
eg, j:;k: ext:mov dupe-from:john dupe:name;size size:>50mb
I want to find duplicate .mov files of at least 50MB on drive j: or k: where at least one of the files is in a folder path that include "john" in its name
I couldn't find help on using dupe-from: ?
Thanks
Version 1.5.0.1413b (x64)
Search duplicate with at least one file in a named folder
-
Phlashman
- Posts: 59
- Joined: Sun Sep 11, 2022 4:57 am
-
tuska
- Posts: 1406
- Joined: Thu Jul 13, 2017 9:14 am
-
void
- Developer
- Posts: 20041
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Search duplicate with at least one file in a named folder
Please try the following search:
will match john anywhere in the full path.
dupe-from:
eg, j:;k: ext:mov dupe-from:**john** dupe:name;size size:>50mbdupe-from:**john**dupe-from:
-
Phlashman
- Posts: 59
- Joined: Sun Sep 11, 2022 4:57 am
Re: Search duplicate with at least one file in a named folder
Thanks for the reply 
One more question, what is the difference between *john* and **john** and where do i use either?
is there already a link explaining this?
Thanks again
One more question, what is the difference between *john* and **john** and where do i use either?
is there already a link explaining this?
Thanks again
-
void
- Developer
- Posts: 20041
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Search duplicate with at least one file in a named folder
* = match any character except \ any number of times
** = match any character any number of times
because we are matching paths, we need to use **
You could use **john* if you want to match john in the last part of the path.
Wildcards
** = match any character any number of times
because we are matching paths, we need to use **
You could use **john* if you want to match john in the last part of the path.
Wildcards
-
Phlashman
- Posts: 59
- Joined: Sun Sep 11, 2022 4:57 am
Re: Search duplicate with at least one file in a named folder
Would *john* find files in "..\xjohnx\filename.ext" as you say * matches "one or more characters other than \" as the * matches x once either side
but it would need ** if the character immediately before or after john was \ in the path?
you have said "You could use "**john* if you want to match john in the last part of the path" do you mean the parent folder of the filename, but doen't that have a \ between the parent folder name and filename or is the \ ignored at the end of path and only exists in fullname?
but it would need ** if the character immediately before or after john was \ in the path?
you have said "You could use "**john* if you want to match john in the last part of the path" do you mean the parent folder of the filename, but doen't that have a \ between the parent folder name and filename or is the \ ignored at the end of path and only exists in fullname?
-
void
- Developer
- Posts: 20041
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Search duplicate with at least one file in a named folder
No,would *john* find files in ..\xjohnx\filename.ext
It matches xjohnx, but not ..\xjohnx\filename.ext
You'll need **xjohnx** to match ..\xjohnx\filename.ext
Yes, you will need ** to match the \ in the path.as you say * matches "one or more characters other than \" as the * matches x once either side
but it would need ** if the character immediately before or after john was \ in the path?
Yes, one thing I didn't mention is dupe-from: will match against the full path not just the path part."You could use **john* if you want to match john in the last part of the path" do you mean the parent folder of the filename, but doen't that have a \ between the parent and filename?
So you really want
dupe-from:**john**\*or
dupe-from:**john*\*