[enhancement] Support for rsync parameters
Closed this issue · 3 comments
To prevent errors being displayed within the console output, I would like to suppress the motd from servers. Rsync has a flag to do so: --no-motd
Would be nice if there is a possibility to add such an option to the configuration to automatically add it to ./quilk d and ./quilk d watch.
https://jdcrecur.github.io/quilk/Modules_baked_in/rsync.html
You are able to add additional commands to the rsync command by using the set
directive.
{
"name": "Rsync it",
"module": "rsync",
"set" : ["--no-motd"],
"ignore": {
"linux" : [],
"windows" : [],
"mac" : [],
"global" : [
".git*",
".idea*",
"storage",
"node_modules/*",
"tests/*",
"vendor/*"
]
}
}
By default developers blocks with the windows flag push into the mix: --chmod=ug=rwx,o=rx
but you are able to bypass this by not adding the platform to you local quilk file.
Let me know if this helps, if not i will see what else i can add for you.
Cheers,
John
@renepardon
Please see the new 'useSetOnly' for the quilk module, this will allow you to override the default rsync options too.
Doesn't work for me so I'm going to ignore the banner error from ssh.