Skip to main content

Sync files in the local folder with files in the remote location, e.g. Google Drive.

Project description

Sync files in the local folder with files in the remote location, e.g. Google Drive.

Install

  1. Run the following command in your command line:
pip install dir-sync
  1. Check the version you installed:
$ dir-sync --version
Version: X.X.X

Command Options

Option Description Required Default
–src-type Source type. Yes  
–dst-type Destination type. Yes  
–src Source directory path. The value depends on the source type. Yes  
–dst Destination directory path. The value depends on the source type. Yes  
–auth-key-file Path to auth key file. Yes  

Filesystem Adapter

Depends on the source type and destination type, the value of source directory path and destination directory path can be vary.

Local Filesystem

When --src-type or --dst-type is local, the --src/--dst must be a valid directory path in your local filesystem.

Google Drive

When --src-type or --dst-type is google-drive, the --src/--dst must be a valid Google Drive directory ID. (reference: https://developers.google.com/drive/api/v3/reference/files)

Project details


Download files

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

Files for dir-sync, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size dir_sync-0.2.0-py3-none-any.whl (13.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dir-sync-0.2.0.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page