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, --link -L, --dereference -n, --no-clobber do not overwrite an existing file (overrides a -u or previous -i option). See also --update -P, --no-dereference -p --preserve=,,,_ --preserve[=_] preserve the specified attributes --no-preserve=_ --parents -R, -r, --recursive --reflink[=] /. --remove-destination ( --force) --sparse= . --strip-trailing-slashes -s, --symbolic-link b-S, --suffix= -t, --target-directory= -T, --no-target-directory --update[=UPDATE] control which existing files are updated; UPDATE={all,none,older(default)}. See below -u equivalent to --update[=older] -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 similar to the --no-clobber option, in that no files in the destination are replaced, but also skipped files do not 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. --reflink[=always], , . , --reflink=auto, . --reflink=never . ,,~", --suffix ,,SIMPLE_BACKUP_SUFFIX". --backup ,,VERSION_CONTROL". : none, off ( --backup) numbered, t existing, nil , simple, never , ,,cp" , . , , . coreutils: Copyright (C) 2023 Free Software Foundation, Inc. 3+: 3 . : . , . install(1) ,,info '(coreutils) cp invocation'" ; 3 . . , - TODO <>. coreutils 9.4 2024 CP(1)