forked from ungleich-public/cdist
added second example for additional rsync options
This commit is contained in:
parent
d91b478ae0
commit
879ddefbdf
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ __rsync /tmp/testdir \
|
||||||
--source /etc \
|
--source /etc \
|
||||||
--rsync-opts exclude=sshd_conf
|
--rsync-opts exclude=sshd_conf
|
||||||
|
|
||||||
|
# Use rsync with multiple options --exclude --dry-run
|
||||||
|
__rsync /tmp/testing \
|
||||||
|
--source /home/tester \
|
||||||
|
--rsync-opts exclude=id_rsa \
|
||||||
|
--rsync-opts dry-run
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue