Skip to content
UltraFastCopy
  • Home
  • Functionalities
  • Cmd line
  • products
  • VS – others
  • Download
  • Release-Notes
  • My account
  • FAQ
  • Contact

Categories

  • Uncategorized

Cmd line



Contents

  • Command‑line interface
  • Examples

    • Without UI
    • With UI

  • Options

    • Copy
    • Move
    • Instruction (option copy/move)
    • Directory date diff (option copy/move)
    • Delete
    • Properties
    • Dry mode
    • Hash

      • Hash + generation
      • Hash + check
      • Hash + restore from backup
      • Hash + copy + generation

    • Integration with third‑party tools



Command-line interface

Examples:

Without UI:

Copy the contents of a directory “C:\tmp\source” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopyCLI.exe" --dateDiff=Diff --instruction=ReplaceAll --copy="C:\tmp\target|C:\tmp\source\*"

Copy a directory “C:\tmp\source” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopyCLI.exe" --dateDiff=Diff --instruction=ReplaceAll --copy="C:\tmp\target|C:\tmp\source"

Copy a file “C:\tmp\source\file.txt” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopyCLI.exe" --dateDiff=Diff --instruction=ReplaceAll --copy="C:\tmp\target|C:\tmp\source\file.txt"

Copy a file “C:\tmp\source2\file.txt” and a directory “C:\tmp\source” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopy.exe" --noUI --dateDiff=Diff --instruction=ReplaceAll --copy="C:\tmp\target|C:\tmp\source|C:\tmp\source2\file.txt"

Note:
UltraFastCopyCLI.exe is a shortcut for UltraFastCopy.exe --noUI, providing direct command‑line execution without launching the graphical interface.

With UI:

Copy the contents of a directory “C:\tmp\source” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopy.exe" --copy="C:\tmp\target|C:\tmp\source\*"

Copy a directory “C:\tmp\source” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopy.exe" --copy="C:\tmp\target|C:\tmp\source"

Copy a file “C:\tmp\source\file.txt” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopy.exe" --copy="C:\tmp\target|C:\tmp\source\file.txt"

Copy a file “C:\tmp\source\file.txt” and a directory “C:\tmp\source” to directory “C:\tmp\target”:
"C:\Program Files\UltraFastCopy\UltraFastCopy.exe" --copy="C:\tmp\target|C:\tmp\source|C:\tmp\source\file.txt"

Options:

Copy:

Copy a single file.
--copy="X:\targetDir|X:\FileToCopy"

Copy a folder along with all its contents.
--copy="X:\targetDir|X:\dirToCopy"

Copy only the contents of a folder, excluding the parent directory.
--copy="X:\targetDir|X:\directoryContentToCopy\*"

Move:

Move a single file.
--move="X:\targetDir|X:\FileToMove"

Move a folder along with all its contents.
--move="X:\targetDir|X:\dirToMove"

Move only the contents of a folder, excluding the parent directory.
--move="X:\targetDir|X:\directoryContentToMove\*"

Instruction (option for Copy/Move):

Copy only new files; skip files that already exist.
--instruction=SkipAllExisting

Copy only new files. If an existing file is older, replace it with the newer version based on the file date.
--instruction=OnlyIfNew

Copy new files and overwrite any existing ones.
--instruction=ReplaceAll

Directory date diff (option for Copy/Move):

Update the modification date for each directory.
--dateDiff=Diff

Update older directory timestamps with newer ones.
--dateDiff=Newer

Replace newer directory timestamps with older ones.
--dateDiff=Older

Delete:

Display a deletion confirmation dialog.
--delete="C:\to_delete"

Move files and folders to the Recycle Bin.
--delete-recycle="C:\to_move_to_recycle"

Permanently delete the selected files and folders.
--delete-permanently="C:\to_delete_permanently"

Securely erase items using multi-pass overwriting to prevent data recovery.
--delete-securely="C:\to_delete_securely"

Properties:

Retrieve properties from the command line.
UltraFastCopyCLI.exe --properties="C:\source_dir_or_file_to_hash"

Retrieve properties using the graphical interface.
UltraFastCopy.exe --properties="C:\source_dir_or_file_to_hash"

Retrieve properties from the command line in raw format.
UltraFastCopyCLI.exe --output-file-format=raw --properties="C:\source_dir_or_file_to_hash"

Retrieve properties from the command line in JSON format and list filenames.
UltraFastCopyCLI.exe --output-file-format=json --properties="C:\source_dir_or_file_to_hash" --display-filenames

Retrieve properties from the command line in raw format and list filenames.
UltraFastCopyCLI.exe --output-file-format=raw --properties="C:\source_dir_or_file_to_hash" --display-filenames

Dry:

Simulate copying a file and review the result in dry mode.
UltraFastCopyCLI.exe --instruction=OnlyIfNew --dry --copy="X:\targetDir\|Y:\sourceDir\file.txt"

Simulate copying the contents of a folder and review the result in dry mode.
UltraFastCopyCLI.exe --instruction=OnlyIfNew --dry --copy="X:\targetDir\|Y:\directoryContentToMove\*"

Simulate moving a file and review the result in dry mode.
UltraFastCopyCLI.exe --instruction=OnlyIfNew --dry --move="X:\targetDir\|Y:\sourceDir\file.txt"

Simulate moving the contents of a folder and review the result in dry mode.
UltraFastCopyCLI.exe --instruction=OnlyIfNew --dry --move="X:\targetDir\|Y:\directoryContentToMove\*"

Simulate permanently deleting a directory and its contents in dry mode.
UltraFastCopyCLI.exe --dry --delete-permanently="X:\targetDir\"

Filter in: simulate deleting only .exe files inside the directory tree in dry mode.
UltraFastCopyCLI.exe --dry --filter-in-files-regex="\.exe$" --delete-permanently="X:\targetDir\"

Filter out: simulate deleting everything except .exe files in dry mode.
UltraFastCopyCLI.exe --dry --filter-out-files-regex="\.exe$" --delete-permanently="X:\targetDir\"

Filter out: simulate deleting everything except directories named “test” in dry mode.
UltraFastCopyCLI.exe --dry --filter-out-dirs-regex="\\test$" --delete-permanently="X:\targetDir\"

Hash:

Hash + generation:

Generate a hash for the entire directory contents or for the specified file, and write the result to an output hash file.
UltraFastCopyCLI.exe --hash-format=file --hash-generate="C:\source_dir_or_file_to_hash|C:\another_source_dir_or_file_to_hash"

Generate a hash for the specified file or directory and write it to an alternate data stream when available; if no stream is available, the hash is not written.
UltraFastCopyCLI.exe --hash-format=stream --hash-generate="C:\source_dir_or_file_to_hash|C:\another_source_dir_or_file_to_hash"

Generate a hash for the specified file or directory. When an alternate data stream is available, write the hash to it; otherwise write it to a sidecar file.
UltraFastCopyCLI.exe --hash-format=stream_or_file --hash-generate="C:\source_dir_or_file_to_hash|C:\another_source_dir_or_file_to_hash"

Hash + check:

Verify the hash of the specified file or directory and return detailed verification results.
UltraFastCopyCLI.exe --hash-check="C:\source_dir_or_file_to_hash|C:\another_source_dir_or_file_to_hash"
If the they are not on the same disk, it is better to run a separate command for performance reasons.
UltraFastCopyCLI.exe --hash-check="D:\another_source_dir_or_file_to_hash"

Hash + restore from backup:

If a file or its hash is corrupted, UltraFastCopy can automatically restore the correct version from the specified backup directory.
UltraFastCopyCLI.exe --backup-dir-source="D:\backup_dir_source\" --hash-check="C:\dir_to_check_equivalent_to_backup\"

You can also perform the reverse operation to verify and repair the backup itself.
UltraFastCopyCLI.exe --backup-dir-source="C:\dir_to_check_equivalent_to_backup\" --hash-check="D:\backup_dir_source\"

Hash + copy + generation:

Copy all files from the source to the target, replacing only newer files. Generate the hash at the target.
UltraFastCopyCLI.exe --instruction=ReplaceOnlyIfNew --hash-format-target=file --copy="C:\target|C:\source\*"

Copy all files from the source to the target, replacing only newer files. Generate the hash at the source and at the target when it does not already exist at the source.
UltraFastCopyCLI.exe --instruction=ReplaceOnlyIfNew --hash-format-source=file --hash-format-target=file --copy="C:\target|C:\source\*"

Integration with third‑party tools:

If files or directories are already present in the clipboard using the standard Windows mechanism, UltraFastCopy automatically detects copy or move operations through the following call:
UltraFastCopy.exe --clipboard="C:\targetPath"

Copyright © 2026 TR-Softwares. All rights reserved. Privacy Policy | Terms and conditions