fab.tools.rsync#

This file contains the Rsync class for synchronising file trees.

Classes

Rsync()

This is the base class for rsync.

class fab.tools.rsync.Rsync#

This is the base class for rsync.

execute(src, dst)#

Execute an rsync command from src to dst. It supports ~ expansion for src, and makes sure that src end with a / so that rsync does not create a sub-directory.

Parameters:
  • src (Path) – the input path.

  • dst (Path) – destination path.