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
Run the following command in your command line:
pip install dir-sync
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
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 dir-sync-0.2.0.tar.gz
.
File metadata
- Download URL: dir-sync-0.2.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 624648fef5fc0fc715b446ba2bb2109ee2db0ceda1beee7e01fe0e312bdb7935 |
|
MD5 | b9353a72bc536a40d39123c135d10612 |
|
BLAKE2b-256 | dad108e0384f87c862447814eb7c6afc82abf98981e6993033a2178477df9e4f |
File details
Details for the file dir_sync-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: dir_sync-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4972134d9ba17d7f3550a1ad66ac581d6556f2729cc616be29fec990a404af29 |
|
MD5 | fdb3b931b90f2c1e21c2d742964acdcb |
|
BLAKE2b-256 | 56e75f5586f2a0de7408cbd0b7d673177e9f73f1c7ea314207a44de2a029ed18 |