FlexTk

Command Line Tools:        

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 -sign -sig_file <Signatures Data File> -dir <Directory 1> [ ... <Directory X> ]

flextk -verify -sig_file <Signatures Data File>

Parameters:

-sign | -verify

This parameter specifies the process mode: sign or verify. In the 'Sign' process mode, the FlexTk command line tool scans the file system, generates signatures and saves the file system image file. In the 'Verify' process mode, the FlexTk command line tool reads the previously saved file system image file and verifies integrity of all files.

-sig_file <Signatures Data File>

This parameter specifies the name of the signatures data file that will be used as the file system image file.

-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 algorithm used to calculate signatures of files. By default, FlexTk uses the SHA256 algorithm.

-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.

-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.

-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.