Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DEDUPE Error

Jun
760
16
I just tried using DEDUPE for the first time. Since I was not familiar with it, I used the command dialog (/=) to generate the command, so I was quite surprised when it generated an error message. The command started with

Code:
DEDUPE /D /Nj /Nd /Nt /SHA256 *.pdf

and it generated the error message

Code:
TCC: (Sys) The parameter is incorrect.
 "Nd"
 
According to the help

dSkip hidden directories (when used with /S)
 
Yes, but it's NOT the /Nd ALONE which fails. It's the /Nj /Nd combo. /Nd without /Nj is working - also /Nj without /Nd is working ... so the error msg is confusing.
 
Exactly. I don't see what was wrong with the command, and it was created by the command dialog. I would like to think that the dialog would not allow the generation of an erroneous command line. I also don't see any incompatibility with skipping junctions and hidden directories.
 
Now I just tried the command again and am puzzled again. I seem not to understand how it is supposed to work. The command, run from a backup folder, looked like this:

Code:
DEDUPE /D /SHA256 *.pdf source_folder

There are many PDF files in the backup area that are also in the the source area, but the dedupe reported, "Total files: 80 Unique: 80 Duplicates: 0". I even checked the CRC values, and they definitely are duplicates.

Then I created a new file named junk.txt in my c:\temp folder, copied it to the c:\temp\conf folder, and set up the new command using the dialog:

Code:
[TCC34.00.21 | C:\temp]
>DEDUPE /D /SHA256 junk* C:\temp\conf

The report was "Total files: 1 Unique: 1 Duplicates: 0".
 
Yes, I agree absolutely that the /Nj /Nd combo should be valid.
 
@Jay Sage

Dedupe command works in the specified directory only AFAIK - not between your current directory and specified.

EDIT: But it works between specified dir1 and specified dir2, see my test below.
 
Last edited:
Really? The help shows that one can name one or more target directories in which to search for the files. Unless that's just a way to run the equivalent of multiple DEDUPE commands in different directories. Do people really end up with duplicate files in the same directory (obviously with different names)?

Format:DEDUPE [ranges] [/= /A:[[-|+]rhsadecijopt /D /H /L /N[defjnstz] /P /Q /R /S[[+]n] /SHA1 /SHA256 /SHA384 /SHA512 /V /W[n]] filename directory [directory...]

filenameThe filename to search for (* for everything)
directoryThe directories (and optionally subdirectories) to search
Unfortunately, there are no clear examples in the help.

For my case, I guess I'll just do it the old way, with a batch file and my own file size and hash value checks.
 
Hello Jay,

Honestly, I am just not sure!

However, I do fully agree that it would not really make sense!

I will investigate a bit time here yet anyway (soon) ... maybe I can find out something yet - also not sure ;-)
 
Jay, it works here: I tested it as following:

dedupe_test.webp
 
That means:

If you want that it works in 2 directories (maybe more possible too, not tested), you have ALWAYS to explicite specify BOTH directories.
 
Back
Top