nushell/docs/commands/cp.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

408 B

title layout version
cp command 0.59.0

Copy files.

Signature

> cp (source) (destination) --recursive

Parameters

  • source: the place to copy from
  • destination: the place to copy to
  • --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