Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synchro-0.0.0rc2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

synchro-0.0.0rc2-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file synchro-0.0.0rc2.tar.gz.

File metadata

  • Download URL: synchro-0.0.0rc2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for synchro-0.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 6f70a0f808079bcfae46f9f11ec0fbfc509f714b615c681e4f22ebc0ba26acb9
MD5 523c8ef47a9a9c0bd48a8d36de1887da
BLAKE2b-256 b2ea14ef163ad3f39c2a8cbdce69b8f0e9604af914a5f4da17c13458edbb60e2

See more details on using hashes here.

File details

Details for the file synchro-0.0.0rc2-py2.py3-none-any.whl.

File metadata

  • Download URL: synchro-0.0.0rc2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for synchro-0.0.0rc2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b2304daf40c12a20bb6d2705d54f773c55b462217e84a650a710c22103377ea
MD5 e3ab968743abe3414ee0b3aa30fbe071
BLAKE2b-256 5162a1ef8dd172515260ad5770420e05aa5282540ca924943e310318ee4407a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page