1926: cp (Acronis Linux Command)

use Google Translate

Last update: 27-05-2010

Copies files and directories


  • cp [option]... [source] [destination]

The cp command copies source to destination or multiple sources to directory.


  • -a: The same as -dpR.
  • -d, -P: Preserves links
  • -H, -L: Dereferences all symlinks (implied by default).
  • -p: Preserves file attributes if possible.
  • -f: Force (implied; ingored) — always set
  • -i: Interactive, prompts before overwriting.
  • -R, -r: Copies directories recursively.

See also Acronis Linux Commands.