cp

Copy a file or directory.

Syntax

cp <source> <destination> [force]

Parameters

source: The source file or directory to copy.

destination: The destination path to copy the source file or directory to.

force: Do not ask to overwrite the destination file if it exists.

 

© 2025 Digi International Inc. All rights reserved.
cp updated on 04 Oct 2023 09:23 AM