Google Drive sync client for Linux
Google Drive sync client for Linux.
This project is still in an experimental phase. Care should be exercised when syncing important Google Drive files.
The simplest way to install gynx is through pip
pip install --user gynx
--user flag to install the relevant files and scripts in your home diretory.
N.B. Do not install as the root user, or using
sudo, to prevent permissions errors during use.
To install from source
git clone https://gitlab.com/ml394/gynx.git cd gynx python setup.py install
This should be run inside a Python 3 virtual environment.
Create a Google Drive sync folder in your home directory and run the
gynx command to start the syncing operations.
The first time this is run, you will be asked to sign into Google via your web browser and give the gynx app permissions to access your account.
mkdir ~/drive; cd ~/drive; gynx
Your authentication token will be saved in the app config, so you will only need to sign in once. On subsequent executions you can simply
cd into your synced drive directory and run the
N.B. You must be in your root drive folder when you run the
gynx command. It will try to sync your Google Drive folder with whatever folder you are currently in.
gynx command can be run with a few options to further customize your sync operation, sign in using another account, and refresh your file cache to fix errors.
||Print gynx release number to console and exit|
||Print gynx help text to console and exit|
||Run in verbose mode. Prints out remote drive information prior to program executions|
||Removes the stored file caches before running. Use this option following any output errors.|
||Deletes the contents of the local directory and runs a full download from the remote drive. Be careful!|
||Create a new auth token by signing in with another Google account. This will overwrite your current token.|
||Only print the operations to be performed to the console, but don't run them. Useful for debugging.|
||Run sync automatically on a schedule. Press Ctrl+C to stop.|
||Minutes until next automatic run (default 10).|
||Start automatic folder monitoring after the intial run. Press Ctrl+C to stop|
If you're interested in contributing to gynx, please follow these steps:
- Take a look at the Contributing Guidelines and make sure you understand the merge request process
- Check out ongoing issues in the Issue List and see if there's anything you can help out with. Feel free to submit your own issue if you discover a bug or want to suggest a new feature.
- Clone the
developmentbranch and checkout your own branch to commit your changes.
- Push your branch and submit a Merge Request for review.
- [x] Working CLI interface for all recursive functions
- [x] PyPi deployment and installation
- [x] Full test suite with > 85% coverage
- [x] Continuous sync and changes monitoring through cron or system service
- [ ] API web service to distribute app credentials
- [ ] Allow users to generate own app credentials for individual quotas
If you like the software and would like to donate, take a look at TBC
Instead, donate to an organization or open source project that helps promote a free and safe Internet, such as:
It seductively wiggles its hips as it walks. It can cause people to dance in unison with it.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gynx-0.0.8-py3-none-any.whl (34.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size gynx-0.0.8.tar.gz (18.4 kB)||File type Source||Python version None||Upload date||Hashes View|