Using DupScout Command Line Utility

In addition to the GUI application, DupScout Ultimate 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.