CP(1) General Commands Manual CP(1)

cpcopy files

cp [-fip] [-R [-H | -L | -P]] source target

cp [-fip] [-R [-H | -L | -P]] source ... directory

In the first synopsis form, cp copies the content of the source to the target. In the second synopsis form, cp copies the contents of each source to the destination directory.

Remove existing files.
Dereference symbolic links on command line.
Prompt before overwriting a file.
Dereference all symbolic links.
Preserve symbolic links.
Preserve mode, timestamp and permissions.
Descend recursively through its directories arguments.

If -R is given, the default is as if the -L option had been specified. Otherwise, it defaults to -P.

The cp utility exits 0 on success, and >0 if an error occurs.

cat(1), ln(1), mv(1)

The cp utility is compliant with the specification.

December 29, 2019 EltaninOS