CP(1) CP(1) cp - copy files and directories cp []... [-T] cp []... SOURCE... cp []... -t ... , . . -a, --archive -dR --preserve= --attributes-only , --backup[=] -b --backup --copy-contents -d --no-dereference --preserve= --debug explain how a file is copied. Implies -v -f, --force , ( -n) -i, --interactive ( -n ) -H -L, --dereference -P, --no-dereference --keep-directory-symlink follow existing symlinks to directories -l, --link -n, --no-clobber (deprecated) silently skip existing files. See also --update -p --preserve=,,,_ --preserve[=_] preserve the specified attributes --no-preserve=_ --parents -R, -r, --recursive --reflink[=] /. --remove-destination ( --force) --sparse= . --strip-trailing-slashes -s, --symbolic-link -S, --suffix= -t, --target-directory= -T, --no-target-directory --update[=UPDATE] control which existing files are updated; UPDATE={all,none,none-fail,older(default)} -u equivalent to --update[=older]. See below -v, --verbose -x, --one-file-system -Z --context[=] -Z, --help --version ATTR_LIST is a comma-separated list of attributes. Attributes are 'mode' for permissions (including any ACL and xattr permissions), 'ownership' for user and group, 'timestamps' for file timestamps, 'links' for hard links, 'context' for security context, 'xattr' for extended attributes, and 'all' for all attributes. , . --sparse=auto. --sparse=always . --sparse=never . UPDATE controls which existing files in the destination are replaced. 'all' is the default operation when an --update option is not specified, and results in all existing files in the destination being replaced. 'none' is like the --no-clobber option, in that no files in the destination are replaced, and skipped files do not induce a failure. 'none-fail' also ensures no files are replaced in the destination, but any skipped files are diagnosed and induce a failure. 'older' is the default operation when --update is specified, and results in files being replaced if they're older than the corresponding source file. By default or with --reflink=auto, cp will try a lightweight copy, where the data blocks are copied only when modified, falling back to a standard copy if this is not possible. With --reflink[=always] cp will fail if CoW is not supported, while --reflink=never ensures a standard copy is performed. ,,~", --suffix ,,SIMPLE_BACKUP_SUFFIX". --backup ,,VERSION_CONTROL". : none, off ( --backup) numbered, t existing, nil , simple, never , ,,cp" , . , , . : bug-coreutils@gnu.org coreutils : : Copyright (C) 2026 Free Software Foundation, Inc. 3+: 3 . : . , . install(1) ,,info '(coreutils) cp invocation'" ; 3 . . , - TODO <>. coreutils 9.11 2026 CP(1)