dir-sync
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)
Metadata
Release files for dir-sync 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dir-sync-0.2.0.tar.gz | 7.4 kB | Without provenance | Details for dir-sync-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dir_sync-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for dir_sync-0.2.0-py3-none-any.whl |
Total release size: 21.1 kB
Release files / dir-sync-0.2.0.tar.gz
| Download URL | dir-sync-0.2.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
624648fef5fc0fc715b446ba2bb2109ee2db0ceda1beee7e01fe0e312bdb7935
|
|
BLAKE2b-256 checksum How to use checksums |
dad108e0384f87c862447814eb7c6afc82abf98981e6993033a2178477df9e4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dir_sync-0.2.0-py3-none-any.whl
| Download URL | dir_sync-0.2.0-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4972134d9ba17d7f3550a1ad66ac581d6556f2729cc616be29fec990a404af29
|
|
BLAKE2b-256 checksum How to use checksums |
56e75f5586f2a0de7408cbd0b7d673177e9f73f1c7ea314207a44de2a029ed18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for dir-sync 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.