DiskSorter Logo

DiskSorter Server Command Line Utility

In addition to the web-based management interface, DiskSorter Server provides a command line utility allowing one to control one or more DiskSorter Servers locally or via the network. The DiskSorter command line utility is located in <ProductDir>/bin directory.

DiskSorter Server Command Line Syntax:

disksorter -server_show_commands

Shows file classification commands configured in DiskSorter Server.

disksorter -server_start_command <Command Name>

Starts the specified file classification command.

disksorter -server_stop_command <Command Name>

Stops the specified file classification command.

disksorter -server_command_status <Command Name>

Shows the current status of a file classification command.

disksorter -server_command_errors <Command Name>

Shows process errors for a file classification command.

disksorter -server_delete_command <Command Name>

Deletes the specified file classification command.

disksorter -server_export_reports -reports_dir <Directory>

Exports file classification reports to the specified directory.

disksorter -server_import_reports -reports_dir <Directory>

Imports file classification reports from the specified directory.

disksorter -server_status

Shows the current DiskSorter Server status.

disksorter -server_debug_log

Shows the DiskSorter Server debug log.

disksorter -v

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

disksorter -help

This command shows the command line usage information.

Options:

-host <Host Name>

Specifies the host name or an IP address of DiskSorter Server to connect to. If not specified, the command line utility will connect to the local host.

-port <Port Number>

Specifies the TCP/IP port to connect to. If not specified, the command line utility will connect to the default DiskSorter Server TCP/IP port 9125.

-user <User Name>

Specifies a user name to login to DiskSorter Server. If not specified, the command line utility will login using the default 'admin' user name.

-password <Password>

Specifies a password to login to DiskSorter Server. If not specified, the command line utility will login using the default 'admin' password.

DiskSorter News

17-Nov-2026

DiskSorter v18.4 improves all types of file classification pie charts and bars charts allowing one to display the disk space usage and the number of files per file type, file extension, file attribute, user name, creation, last modification and last access dates, etc. In addition, the new product version improves the detailed PDF and HTML file classification reports, improves the DiskSorter command line utility and fixes a number of bugs.

1-Oct-2026

DiskSorter v18.3 adds the ability to load lists of directories to be classified from text files allowing one to automate the file classification operations. In addition, the new product version improves the conditional file classification actions allowing one to automatically generate file classification reports according to the user-specified conditions, improves the DiskSorter Server GUI application and fixes a number of bugs.

More News