liarcn / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

prsync - add additional options #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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