h3idan/parallel-ssh

prsync - add additional options

Closed this issue · 4 comments

It would be very useful with prsync if the --dry-run and --delete rsync
options could be allowed as well as a few other options.  Since there are
too many rsync options to list individually, I was thinking it might be
most efficient to add a parameter to prsync called --rsync-options (or
something similar) where the options would be passed directly to rsync -
just like the --options that exists now to set arbitrary SSH parameters.

Original issue reported on code.google.com by ryan.bro...@gmail.com on 22 Oct 2009 at 1:35

I have a working and proven patch for adding the --delete option (-> 
attachment). A
more generic solution as outlined above would be nice, though.

Original comment by tiwocph...@gmail.com on 22 Oct 2009 at 8:10

Attachments:

Hmm.  This is definitely a problem, but I need to develop an opinion on the 
best way
to pass all of the options in.

Original comment by amcna...@gmail.com on 22 Oct 2009 at 7:34

  • Changed state: Accepted
We had a discussion on the mailing list a couple of months ago, and I've now 
gone and 
implemented some options that allow specifying arbitrary options.  Would you 
please 
grab the latest version of pssh from git and try the -x or -X options?  Please 
let me 
know whether this works:

prsync -x --delete -h hosts_file ...

(for this case, -x and -X should do the same thing)

Original comment by amcna...@gmail.com on 16 Feb 2010 at 11:38

  • Changed state: Started

Original comment by amcna...@gmail.com on 19 Feb 2010 at 7:00

  • Changed state: Fixed