GDSyncOffline is a tool to synchronize the folder present in your google drive with a local folder in your pc.
- Run
python3 -m pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
- Turn on the Drive API for you account from here(https://developers.google.com/drive/api/v3/quickstart/python) and download the credentials.json in the repository folder.
- Modify the
LOCAL_FOLDER
andDRIVE_FOLDER
in main.py with your requirement. - Run
python3 sync.py
- Downloads the missing files/folders in the local folder.
- Uploads the missing files/folders in the local folder.
- Synchronize deletion
- Synchronize modification in a file