Skip to content
Axel Kesseler edited this page Aug 17, 2019 · 5 revisions

Introduction

The QuickCopy program represents a file copy utility with focus on speed. Initially, this program was inspired by program FastCopy. But in contrast to that program, QuickCopy does not have a user interface. This allows QuickCopy for example to execute user independent in the background.

Some of the program features are:

  • copying as well as moving of multiple files,
  • recursive source folder processing,
  • file selection by using filter patterns like *.exe,
  • usage of UNC file and folder paths,
  • documentation of activities by writing log files,
  • resolving symbolic links at source site,
  • and many more.

Examples

In this section readers may find some useful information as well as use-cases about the usage of program QuickCopy.

Copy Single File

Actually, copying a single file can be done in two ways.

The first and most obvious way is the usage of the file list parameter as shown as follows.

$> qcp -t "c:\target" "c:\source\file1.exe"

The second way is the usage of the --pattern argument as demonstrated as next.

$> qcp -s "c:\source" -p "file1.exe" -t "c:\target"

The result is the same in both cases. File file1.exe is copied from folder c:\source into folder c:\target.

Copy Multiple Files

The same as mentioned above can be applied here as well.

The first way is to use the file list parameter as shown as follows.

$> qcp -t "c:\target" "c:\source\file1.exe" "c:\source\file2.exe" "c:\source\file3.exe"

The second way is to use the --pattern argument as shown as below.

$> qcp -s "c:\source" -p "file?.exe" -t "c:\target"

The result is the same in both cases. Files file1.exe, file2.exe and file3.exe are copied from folder c:\source into folder c:\target, but only under the condition that only those three files exist in the source folder.

Copy Files Recursive

If is also possible to copy files including their folder structure. For this purpose the command line argument --recursive can be applied. See next example that shows how to perform a recursive file copy operation.

$> qcp -r -s "c:\source" -p "*.exe" -t "c:\target"

Result Verification

The results of each file copy operation can be verified. For this purpose the QuickCopy program provides an option called --verify. By using this option an MD5 hash code is generated during reading a particular source file. This hash code is compared to the hash code of the target file after successfully finishing the file copy operation.

The next example shows how to enable target file verification.

$> qcp -v -t "c:\target" "c:\source\file1.exe"

UNC Path Usage

UNC means Uniform Naming Convention and allows to reference files and folders on remote computers. Using UNC paths requires at least one shared folder on the remote computer. Furthermore, each UNC path is build in same way and consists of the server name as well as the name of the shared folder. Here an example of such a UNC path \\server\share\path, where the path may consist of a folder and/or a file.

Below an example of how to copy local files onto a remote computer.

$> qcp -v -s "c:\source" -p "*.*" -t "\\file-server\users\public\data-save"

Future Visions

In the future the program QuickCopy might be able to:

  • slow down copy speed by a --velocity option, and
  • rename an already existing file if option --overwrite is not provided.

Known Bugs

No bugs known in current version at the moment.