sysrsync
sysrsync copied to clipboard
Simple and safe system's rsync wrapper for Python
I'd like to be able to parse the output from the rsync command in order to log what was updated. I believe this can be implemented in the subprocess.run command...
Useful if you need to fix rsync to a specific version and dont want to require each users to modify their path.
Rsync supports multiple source paths. For example, When source is local: > rsync /path/to/file1 /path/to/file2 /path/to/file3 user@ip:/dest/path/ When source is remote: > rsync user@ip:/path/to/file1 user@ip:/path/to/file2 user@ip:/path/to/file3 /dest/path/ The code here...
As described in title
As pointed by pylint
I noticed that there is an inconsistent use of Type Hits within this program. Some modules and functions have type hints in place, others do not. Specifically, the `run` command...
On some systems `rsync` isn't in the `PATH`. Could we add support for specifying the path to the rsync executable for these situations? It could be an optional argument to...
Addresses #2 -Added type annotations to helpers and tests
Add delete option from command
In [pr](https://github.com/gchamon/sysrsync/pull/27/files#diff-6043ab253669526f1f375dce6448c6e812aac1be4962ef555b23cc818c5fa385R35) single quotes got removed from --rsh option, doesn't work anymore.