Linux cp Command Maker Tool

The cp command (Linux/Unix) is used to copy one or more files from one location to another. You may also copy folder/directories by using the cp command.

By using our tool, you may create cp command easily.
Specify the options below and press the "Copy Command" button to grab and use into your terminal.

Bookmark for future use!

Specify the source file or directory to copy.
Specify the destination file or directory.
Copy files and directories recursively while preserving attributes.
Forcefully overwrite existing files without prompting.
Prompt before overwriting files.
Create hard links instead of copying files.
Do not overwrite existing files.
Preserve the specified attributes (e.g., mode, ownership, timestamps).
Copy directories recursively.
Copy only when the source file is newer than the destination file.
Print detailed information about the copy process.
Skip copying files on different file systems.
Retain the full path structure when copying files.
Remove each existing destination file before copying it.
Remove trailing slashes from source file or directory arguments.
How to Use This Tool

This tool helps you generate cp commands easily. Follow these steps:

  1. Enter the source file/directory and destination file/directory.
  2. Select the desired options using the checkboxes.
  3. Copy the generated command and use it in your terminal.