Command Line
AllDup can be called via the command line with various parameters and thus be integrated into other programs or process workflows.Syntax
AllDup.exe -s[1-9,a,b,c] -c[0-5] -h[0-9] -f[0-7] -m[1-100] -d[0-2] -l[10-999] -a[1,2,4,5] -p:"[Profile Name]" -n "[Folder1]" "[Folder2]" ...Parameters
- -s[1-9,a,b,c]
This command allows you to define the search method:- 1 = File Name
- 2 = File Extension
- 3 = File Size
- 4 = File Content
- 5 = Modification Date
- 6 = Creation Date
- 7 = File Attributes
- 8 = Hard links
- 9 = Find Similar Pictures
- a = Find Similar Music
- b = Find Video and Music Files by Audio Track Length
- c = Find Similar File Names
-s124or-s36. Search methods 8, 9, a, b and c can only be used individually, for example-s8or-sa. This parameter is optional and does not need to be specified. - -c[0-5]
This allows you to define the comparison method for the file content search method.- Byte-by-Byte
- MD5 (128-Bit)
- SHA-1 (160-Bit)
- SHA-2 (256-Bit)
- SHA-2 (384-Bit)
- SHA-2 (512-Bit)
-s4. - -h[0-9]
This allows you to define the comparison method for the Similar Pictures search method.- aHash
- bHash
- dHash
- mHash
- pHash
- MD5 (128-Bit)
- SHA-1 (160-Bit)
- SHA-2 (256-Bit)
- SHA-2 (384-Bit)
- SHA-2 (512-Bit)
-s9. - -f[0-7]
This allows you to define the comparison method for the Similar File Names search method.- SmartMatch
- FuzzyMatch
- Levenshtein
- Ratcliff
- MatchDiff
- WordMatch
- FuzzyPercent
- Simil
- -m[1-100]
This allows you to define the percentage of similarity for the Similar Pictures or Similar Music search method. This parameter is optional and can only be used in combination with the command-s9or-sa. - -d[0-4]
This allows you to define the comparison size for the Similar Pictures search method.- 8x8 (aHash, dHash, mHash)
- 16x16 (aHash, dHash, mHash)
- 128x128 (bHash)
- 256x256 (bHash)
- 512x512 (bHash)
-s9. - -l[10-999]
This allows you to define the measurement duration in seconds for the Similar Music search method. This parameter is optional and can only be used in combination with the command-sa. - -a[1,2,4,5]
This allows you to define the comparison method for the Similar Music search method. This parameter is optional and can only be used in combination with the command-sa. - -p:"[Profile Name]"
This will use the settings of the specified profile for the search.
This parameter is optional and does not need to be specified. - -n
With this parameter, the passed folders are not added to the source folder list.
The parameter is optional and does not need to be specified. - "[Folder]"
This allows you to define which folders are to be searched. Multiple folders can be specified. Folder paths that contain spaces must be enclosed in quotation marks.
This parameter is not optional and must be specified.
Examples
AllDup.exe -s13 "C:\\Windows"
Starts a search for identical file name and file size in the folderC:\\Windows.AllDup.exe -s9 -h3 -m90 "C:\\Windows"
Starts a search for similar pictures using the pHash checksum with a similarity of 90% in the folderC:\\Windows.AllDup.exe -sa -l25 -a4 -m80 "C:\\Windows"
Starts a search for similar music in the folderC:\\Windowsusing comparison method No.4 with a similarity of 80% and a measurement duration of 25 seconds.AllDup.exe -s4 -c0 "C:\\Windows" "C:\\Data"
Starts a search for files with the same content in the foldersC:\\WindowsandC:\\Data.AllDup.exe -s14 -c3 "C:\\Windows"
Starts a search for files with the same name and content in the folderC:\\Windows.AllDup.exe "C:\\Windows"
Starts a search in the folderC:\\Windowswith the current program settings.AllDup.exe -p:"Test2" "C:\\Windows"
Starts a search in the folderC:\\Windowswith the settings of the profile Test2.AllDup.exe C:\\Windows "D:\\Windows Backup"
Starts a search in the foldersC:\\WindowsandD:\\Windows Backupwith the current program settings.