FlexTk

Command Line Tools:        

FlexTk provides powerful and flexible file search capabilities allowing one to search files using multiple search criteria including the file name, file type, file size, access/modification/creation times, text or binary patterns, etc. The user is provided with the ability to define composite search queries using multiple search rules and apply the AND/OR logical operators. Frequently used search operations may be saved as user-defined search commands and executed in a single mouse click. FlexTk allows one to perform numerous operations with search results including open/execute, copy, move or delete. In addition, the user is provided with the ability to export search results into a number of standard formats such as HTML, Excel CSV and ASCII text.

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 -search -rules <XML Rules File> -dir <Dir 1> [ ... <Dir X> <Options> ]

Parameters:

-rules <XML Rules File>

This parameter should specify an XML file containing one or more file matching rules defined according to the FlexTk  XML-Based Format specification.

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

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

-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 search results to an HTML file. If no file name is specified, FlexTk will automatically generate a file name according to the following template: flextk_[date]_[time].html

-save_csv_report [ ReportFileName ]

This parameter instructs FlexTk to save search results to an Excel CSV file. If no file name is specified, FlexTk will automatically generate a file name according to the following template: flextk_[date]_[time].csv

-save_text_report [ ReportFileName ]

This parameter instructs FlexTk to save search results to a text report file. If no file name is specified, FlexTk will automatically generate a file name according to the following template: flextk_[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.