DupScout Logo

Using DupScout Command Line Utility

In addition to the GUI application, DupScout Pro includes a command line utility allowing one to execute duplicate files search and removal operations from an OS shell window. The DupScout command line utility provides power users and system administrators with the ability to integrate duplicate files detection capabilities into batch files and shell scripts. The command line utility is located in <ProductDir>/bin directory.

Command Line Syntax:

dupscout -execute <Profile Name>

Executes the specified duplicate files detection and removal command.

dupscout -search -dir <Directory 1> [ ... Directory X ]

Detects duplicate files in the specified directories, disks or network shares.

dupscout -search -server <HostName1;HostName2;HostNameX>

This command detects duplicate files in all network shares in the specified servers and/or NAS storage devices.

dupscout -search -network

This command detects duplicate files in all network shares in all servers on the network.

Parameters:

-dir <Directory>

This parameter specifies an input directory, disk or a network share for the duplicate files detection command. In order to ensure proper parsing of command line arguments, directories containing space characters should be double quoted.

-server <Host Name or IP Address>

This parameter specifies a host name or an IP address of the server or NAS storage device that should be processed. Multiple host names or IP addresses should be separated by the semicolon (;) character.

Options:

-save_html_report [ File Name ]

Saves an HTML report to the specified file.

-save_text_report [ File Name ]

Saves a text report to the specified file.

-save_csv_report [ File Name ]

Saves an Excel CSV report to the specified file.

-save_xml_report [ File Name ]

Saves an XML report to the specified file.

-save_pdf_report [ File Name ]

Saves a PDF report to the specified file.

-save_report [ File Name ]

Saves a native DupScout report file.

-save_to_database

This option saves a report to an SQL Database through the ODBC interface configured on the DupScout GUI options dialog.

-title <Report Title>

Sets a custom report title.

-label <Report Label>

Sets a custom report label.

-max_sets <Maximum Number of Sets to Export>

Specifies the maximum number of duplicate file sets to export (default is 10,000).

-compress

Instructs to export a GZ compressed report.

-show_users

This option enables processing and display of duplicate files user names.

-perf <FULL | MEDIUM | LOW>

This parameter controls the speed of the duplicate files search process.

FULL - Full-speed duplicate files detection
MEDIUM - Medium-speed duplicate files detection
LOW - Low-speed duplicate files detection

-scanners <1 ... 16>

This parameter specifies the maximum number of directory scanning threads.

-streams <1 ... 16>

This parameter specifies the number of parallel duplicate files search threads.

-v

Shows the product major version, minor version, revision and build date.

-help

Shows the command line usage information.

DupScout News

24-Nov-2025

DupScout v17.5 adds the disk activity monitor tool pane, adds the disk transfer rate tool pane and adds the disk IOPS monitor tool pane allowing one to monitor the status and the performance of the hard drives installed in the computer during duplicate files search operations. In addition, the new product version improves the main DupScout GUI application and fixes a number of bugs.

28-Oct-2025

DupScout v17.4 adds support for new file types to the built-in file classification plug-ins allowing one to categorize and filter duplicate files search results by the file type. In addition, the new product version improves the performance of the duplicate files search operations on multi-core and multi-CPU systems and fixes a number of bugs.

More News