4
4
'(-a --archive)'{-a,--archive}'[same as -dpR]' \
5
5
'(-b --backup)-b[backup]' \
6
'(-b --backup)--backup=:method:(none off numbered t existing nil simple never)' \
6
'(-b --backup)--backup=[backup]:method:(none off numbered t existing nil simple never)' \
7
7
'--copy-contents[copy contents of special files when recursive]' \
8
'-d[same as --no-dereference --preserve=link]' \
8
'-d[same as --no-dereference --preserve=links]' \
9
9
'(-f --force)'{-f,--force}'[remove and retry for destinations that cannot be opened]' \
10
10
'(-i --interactive)'{-i,--interactive}'[prompt before overwrite]' \
11
11
'-H[follow command-line symbolic links]' \
12
12
'(-l --link)'{-l,--link}'[link files instead of copying]' \
13
13
'(-L --dereference)'{-L,--dereference}'[always follow symbolic links]' \
14
'(-n --no-clobber)'{-n,--no-clobber}'[do not overwrite an existing file]' \
15
'(-P --no-dereference)'{-P,--no-dereference}'[never follow symbolic links]' \
14
16
'-p[same as --preserve=mode,ownership,timestamps]' \
15
'--preserve=:attributes to preserve:_values -s , attribute mode ownership timestamps links all' \
16
'--no-preserve=:attributes not to preserve:_values -s , attribute mode ownership timestamps links all' \
17
'--preserve=[preserve specified attributes]:attributes to preserve:_values -s , mode timestamps ownership links context xattr all' \
18
'--no-preserve=[don'\''t preserve specified attributes]:attributes not to preserve:_values -s , mode timestamps ownership links context xattr all' \
17
19
'--parents[append source path to target directory]' \
18
'-P[same as --no-dereference]' \
19
20
'(-R -r --recursive)'{-R,-r,--recursive}'[copy directories recursively]' \
21
'--reflink=[control clone/CoW copies]:when to perform a lightweight copy:(always auto)' \
20
22
'--remove-destination[remove each existing destination file before attempting to open it]' \
21
'--reply=:how to handle the prompt about an existing destination file:(yes no query)' \
22
'--sparse=:when to create sparse files:(auto always never)' \
23
'--sparse=[control creation of sparse files]:when to create sparse files:(auto always never)' \
23
24
'--strip-trailing-slashes[remove any trailing slashes from each source argument]' \
24
25
'(-s --symbolic-link)'{-s,--symbolic-link}'[make symbolic links instead of copies of non-directories]' \
25
'(-S --suffix)'{-S,--suffix=}':backup suffix:' \
26
'--target-directory=:target directory:_files -/' \
26
'(-S --suffix)'{-S,--suffix=}'[override the usual backup suffix]:backup suffix:' \
27
'(-t --target-directory)'{-t,--target-directory=}'[copy all source arguments into target directory]:target directory:_files -/' \
28
'(-T --no-target-directory)'{-T,--no-target-directory}'[treat DEST as a normal file]' \
27
29
'(-u --update)'{-u,--update}'[copy only when source is newer than destination or destination is missing]' \
28
30
'(-v --verbose)'{-v,--verbose}'[explain what is being done]' \
29
31
'(-x --one-file-system)'{-x,--one-file-system}'[stay on this file system]' \