FlexTk

Command Line Tools:        

The FlexTk file management toolkit provides a large number of advanced multi-stream file copy and rule-based data migration capabilities allowing one to copy vast amounts of files fast, efficiently and reliably. FlexTk allows one to copy files including access control lists (ACLs), security attributes, ownership information, timestamps and file attributes. In addition, the user is provided with a large number of flexible copy performance tuning and fault tolerance options allowing one to copy data at various speeds, recover failed copy operations and minimize the potential impact on running production systems.

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 -copy -dir <Source 1> [ ... <Source X> ] -dest <Destination>

In addition, FlexTk allows one to execute user-defined file copy and data migration 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> ]

-file <File 1> [ ... <File X> ]

-dest <Destination>

At least one source file or directory and a destination directory should be specified. In order to ensure proper parsing of command line arguments, directories and file names containing space characters should be double quoted.

Options:

-move

Instructs FlexTk to perform a move operation.

-verify

Instructs FlexTk to verify each file after copy.

-streams <StreamCount>

Specifies the number of simultaneous copy streams.

-file_scanner <sequential or parallel>

Specifies the file scanning mode: sequential or parallel. Use the parallel scanning mode when copying multiple input directories located on a RAID array or multiple disk drives.

-file_delay <delay in milliseconds>

Instructs the FlexTk copy engine to insert a delay of X ms. after each copied file. Use this option when you need to slowly copy data to or from a busy production system in order to minimize the potential performance degradation.

-block_delay <delay in milliseconds>

Instructs the FlexTk copy engine to insert a delay of X ms. after each data block. Use this option when you need to slowly copy data to or from a busy production system in order to minimize the potential performance degradation.

-retry_count <RetryCount>

Instructs the FlexTk copy engine to retry failed copy operations. Use this option when copying data over an unreliable network connection or when some source files may be locked during the copy operation.

-retry_delay <retry delay in seconds>

Specifies the time delay between copy retry operations.

-max_pending_task <MaxPendingTask>

Specifies the maximum number of pending retry operations.

-overwrite_mode <OverwriteMode>

Specifies the file overwrite mode: overwrite or skip.

-copy_dacl

Instructs to copy files' access control lists (DACL).

-copy_sacl

Instructs to copy files' security control lists (SACL).

-copy_owner

Instructs to copy files' user/group information.

-copy_time

Instructs to copy files' last access/write/creation times.

-copy_attr

Instructs to copy files' read-only/system/hidden attributes.

-copy_all

Instructs to copy files' DACL, SACL, ownership, times and attributes.

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