Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

addthis/ssync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

ssync is a divide-and-conquer file copying tool to multiple destination hosts. It transfers to n remote machines in log n iterations. ssync is a wrapper around the unix tool rsync. Command line arguments to ssync are identical to command line arguments for rsync with the following exceptions:

  • Must use the dummy name "remote" as the destination host, ie. "[USER@]remote:DEST".
  • Must include the option "--hosts host1 host2 host3" at end of the arguments.
  • The trailing slash is not supported in the SRC arguments
  • Contacting the rsync daemon (using :: notation) has not been tested.

Examples:

ssync -t *.h *.c remote:dest/ --hosts foo bar
ssync -avz /data/tmp remote:/dest --hosts foo bar baz quux

If any child process is killed or exits with a non-zero status code then the parent process will exit with that status code. ssync offers atomicity in case of failures at the granularity of the underlying rsync invocations. Each remote host should have observed either all of the updates or none of them.

The "--continue" command line option will allow ssync to ignore the failure to connect to a host. The script will attempt to connect to the remaining hosts in the list.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages