nushell/old_nushell/docs/commands/cp.md
Fernando Herrera fdce6c49ab engine-q merge
2022-02-07 19:11:34 +00:00

393 B

cp

Copy files.

Usage

> cp <src> <dst> {flags} 

Parameters

  • <src> the place to copy from
  • <dst> the place to copy to

Flags

  • -h, --help: Display this help message
  • -r, --recursive: copy recursively through subdirectories

Examples

Copy myfile to dir_b

> cp myfile dir_b

Recursively copy dir_a to dir_b

> cp -r dir_a dir_b