Skip to content

Instantly share code, notes, and snippets.

@avian2
Created February 2, 2013 16:19
Show Gist options
  • Save avian2/4698080 to your computer and use it in GitHub Desktop.
Save avian2/4698080 to your computer and use it in GitHub Desktop.
cmdline = ['rsync', '--delete', '-az', src_path, dst_path]
self.log.debug("rsync from %r to %r: %r" % (src_path, dst_path, cmdline))
self.subprocess.check_call(cmdline)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment