A terminal application to display google drive usage inspired from ncdu.
Python 3 with the following packages:
- pydrive
- hurry.filesize
-
Get google api client secrets
-
Duplicate
example_client_secrets.json
in theconfig
folder usingclient_secrets.json
as filename and store your client-id and client-secret in the new file -
Install the dependencies, for example with a conda environement using the
environment.yml
fileconda env create -f environment.yml
- Run the
cgdu.py
script from within the root folder wheresettings.yaml
is stored - In case of authentication error, remove the file
config/credentials.json
and try again to perform authenticatin workflow in browser - Wait until scanning is over
- Navigate with arrows, press 'q' to exit
- Add header and update footer
Please feel free to contribute by opening issues or pull-requests!