about summary refs log tree commit diff
path: root/Completion/Unix/Command/_rsync
blob: bb6eb3acb2c632e3a7036358d2641320001dbd6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#compdef rsync

_arguments -C -s \
	'*:local files:_files' \
 	'(--verbose)-v[verbose]' \
 	'(--quiet)-q[quiet]' \
 	'(--checksum)-c[checksum]' \
 	'(--archive)-a[archive]' \
 	'(--recursive)-r[recursive]' \
 	'(--backup)-b[backup]' \
 	'(--update)-u[update]' \
 	'(--links)-l[links]' \
 	'(--perms)-p[perms]' \
 	'(--owner)-o[owner]' \
 	'(--group)-g[group]' \
 	'(--times)-t[times]' \
 	'(--dry-run)-n[dry-run]' \
 	'(--one-file-system)-x[one-file-system]' \
 	'(--rsh)-e[rsh command]:remote command:(rsh ssh)' \
 	'(--compress)-z[compress]' \
 	'(--help)-h[help]' \
	   -- '*=COMMAND*:command:_command' \
              '*=FILE*:file:_files' \
              '*=DIR*:directory:_files -/'