a script based on rsync for synchronizing files.
A script based on rsync for synchronizing files written in python.
Install
pip install psync
Usage
-
Generate the default configuration file:
psync --generate_config
then modify
~/.psync_config.py
for remote host and directory config. -
Upload the whole directory, just type:
psync
-
Upload some files, use:
psync f1 f2 f3
-
For more usages, see:
psync --help
from https://github.com/Onway/psync
No comments:
Post a Comment