Customisable file transfers using rsync
Project description
synchro
Customisable file transfers using rsync
To install
To install, you need a Unix-based system with conda (miniconda or anaconda) installed.
conda create --name synchro python=3.9
conda activate synchro
pip install synchro
If you don't have rsync installed, you will need to do so. E.g. on macOS it can be installed with homebrew:
brew install rsync
To use
synchro
has two modes of use on the command line, either with flags, or a config file.
Command line flags
Not yet implemented
Config file
The only input is the path to a source directory (the one being transferred).
synchro /path/to/source_directory
This source directory must contain a file_transfers.conf
file which contains the
information needed for the transfer.
destination = /path/to/destination_directory # Where to move the data to
untar = y # Untar the data after copying?
create_dest = y # Create the destination directory if it doesn't exist?
transfer_ready_file = ready.txt # Not yet implemented
N.B. the destination can also be on a remote host (an ssh key must be set up), e.g.:
destination = user@IP:/path/to/destination_directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file synchro-0.0.0rc0.tar.gz
.
File metadata
- Download URL: synchro-0.0.0rc0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d699363c70badcf984a9a4533d91e1ca506a9c507bcbb732cce79bdf6de782a7 |
|
MD5 | 2ab37d2c8ce1b40569490aa7a262730d |
|
BLAKE2b-256 | 11f65506ff927b55f84955cc6d3a587ee85c54389e643cb9066dfb49bc7e8cda |
File details
Details for the file synchro-0.0.0rc0-py2.py3-none-any.whl
.
File metadata
- Download URL: synchro-0.0.0rc0-py2.py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02be7767c0154f918018e5281cfc475bb746eddbc7f62021c49f1951c4439b3a |
|
MD5 | f6af3cb59386ad53f8656c4c9c289d52 |
|
BLAKE2b-256 | e47909bacddfd59a44f2ead98f533342e87fa3119e8f1a2e41dbcc987c9b7248 |