Mandatory arguments to long options are mandatory for short options too.
-a | --archive | Same as -dR --preserve=all |
| --attributes-only | Don't copy the file data, just the attributes |
| --backup[=CONTROL] | Make a backup of each existing destination file |
-b | | Like --backup but does not accept an argument |
| --copy-contents | Copy contents of special files when recursive |
-d | | Same as --no-dereference --preserve=links |
-f | --force | If an existing destination file cannot be opened, remove it and try again (this option is ignored when the -n option is also used) |
-i | --interactive | Prompt before overwrite (overrides a previous -n option) |
-H | | Follow command-line symbolic links in SOURCE , i. e. copy the link's target rather than the symbolic link. |
-l | --link | Hard link files instead of copying |
-L | --dereference | Always follow symbolic links in SOURCE |
-n | --no-clobber | Do not overwrite an existing file (overrides a previous -i option) |
-P | --no-dereference | Never follow symbolic links in SOURCE |
-p | | Same as --preserve=mode,ownership,timestamps |
| --preserve[=ATTR_LIST] | Preserve the specified attributes (default: mode,ownership,timestamps ), if possible additional attributes: context , links , xattr and/or all . |
| --no-preserve=ATTR_LIST | Don't preserve the specified attributes |
| --parents | Use full source file name under DIRECTORY |
-R , -r | --recursive | Copy directories recursively |
| --reflink[=WHEN] | Control clone/CoW copies. |
| --remove-destination | Remove each existing destination file before attempting to open it (contrast with --force ) |
| --sparse=WHEN | Control creation of sparse files. |
| --strip-trailing-slashes | Remove any trailing slashes from each SOURCE argument |
-s | --symbolic-link | Make symbolic links instead of copying |
-S | --suffix=SUFFIX | Override the default backup suffix which is a tilde (~ ) |
-t | --target-directory=DIRECTORY | Copy all SOURCE arguments into DIRECTORY |
-T | --no-target-directory | Treat DEST as a normal file |
-u | --update | Copy only when the SOURCE file is newer than the destination file or when the destination file is missing |
-v | --verbose | Explain what is being done |
-x | --one-file-system | Stay on this file system |
-Z | | Set SELinux security context of destination file to default type |
| --context[=CTX] | Like -Z or if CTX is specified then set the SELinux or SMACK security context to CTX |
| --help | Display this help and exit |
| --version | Output version information and exit |