FlexTk

Command Line Tools:        

FlexTk's built-in duplicate files finder provides a large number of advanced features and capabilities allowing one to identify and cleanup duplicate files on personal computers and enterprise storage systems. In addition, FlexTk's built-in duplicate files finder allows one to export duplicate files reports into a number of standard formats such as HTML, Excel CSV and ASCII text. Finally, power users and IT professionals are provided with policy-based duplicate files detection and removal capabilities (FlexTk Ultimate only) allowing one to define custom duplicate files detection and removal commands and execute them in a fully unattended, automatic mode.

In addition to the GUI application, FlexTk Ultimate provides a command line utility allowing one to use all the features of the FlexTk file management toolkit from an OS shell window. The FlexTk command line tool provides power users and system administrators with the ability to automate all the available file management operations and to integrate FlexTk features into batch files and shell scripts. The FlexTk command line tool is located in <ProductDir>/bin directory.

Command Line Syntax:

flextk -duplicates -dir <Directory 1> [ ... <Directory X> <Options> ]

In addition, FlexTk allows one to execute user-defined duplicate files search commands using the FlexTk Execute command line tool, which supports all advanced capabilities available in the FlexTk GUI application.

Parameters:

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

This parameter specifies the list of input directories to process. In order to ensure proper parsing of command line arguments, directories and file names containing space characters should be double quoted.

Options:

-signature_type <MD5 | SHA1 | SHA256>

This parameter sets the type of the algorithm used to calculate signatures of files. By default, FlexTk uses the SHA256 algorithm.

-workers <WorkingThreadCount>

This parameter sets the number of working threads to process files. FlexTk is optimized for Multi-Core and Multi-CPU computers and is capable of distributing the workload to an unlimited number of CPUs. By default, FlexTk processes files with one working thread.

-max_dup_set <MaxNumberOfDuplicateSets>

This parameter sets the maximum number of duplicate file sets to report about. By default, FlexTk will report about up to 1000 duplicate file sets sorted by the amount of wasted storage space.

-min_wasted_space <MinWastedStorageSpace>

This parameter sets the minimum amount of wasted storage space to report about. By default, FlexTk will report about duplicate file sets wasting at least 1 MBytes of storage space.

-exclude_dir <Exclude Directory 1> [ ... <Exclude Directory X> ]

This parameter specifies the list of directories that should be excluded from processing. In order to ensure proper parsing of command line arguments, directories containing space characters should be double quoted.

-save_html_report [ ReportFileName ]

This parameter instructs FlexTk to save a summary report and the list of all file categories to an HTML file. If no file name is specified, FlexTk will automatically generate a file name according to the following template: flexdup_[date]_[time].html

-save_csv_report [ ReportFileName ]

This parameter instructs FlexTk to save a summary report and the list of all file categories to an Excel CSV file. If no file name is specified, FlexTk will automatically generate a file name according to the following template: flexdup_[date]_[time].csv

-save_text_report [ ReportFileName ]

This parameter instructs FlexTk to save a summary report and the list of all file categories to a text report file. If no file name is specified, FlexTk will automatically generate a file name according to the following template: flexdup_[date]_[time].txt

-v

This parameter instructs FlexTk to show the product major version, minor version, revision and build date.

-help

This parameter instructs FlexTk to show the command line usage information.