Created
March 19, 2020 03:12
-
-
Save sophieforceno/9076fee9bac814038889c1c667203f86 to your computer and use it in GitHub Desktop.
insync-info.sh - Display recent activity and information about your Google Drive account via insyc-headless
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo | |
echo "------ Insync-headless Status ------" | |
echo | |
echo "Sync progress:"; insync-headless get_sync_progress | |
echo | |
echo "Actions required:"; insync-headless get_actions_required | |
echo | |
echo "Errors:"; insync-headless get_errors | |
echo | |
echo "Recent changes:"; insync-headless get_recent_changes | |
echo | |
echo "Drive space:"; insync-headless get_account_information | grep -E 'Total|Remaining' | |
echo | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment