Skip to content

Improvements to cleanup and auto update

Compare
Choose a tag to compare
@Akianonymus Akianonymus released this 03 Nov 12:01
· 51 commits to master since this release
gupload: Add _cleanup_config function

this function removes any expired tokens on the basis of expiry

will be useful once service accounts or multi account config implemented


gupload: Improve _cleanup and _auto_update function

check tmp access token file before comparing access token

fix access token in config file if was update when script was running

don't create a extra subshell for auto update


Move upload functions to new file [ upload-utils ] | Misc

* Arrange functions alphabatically

*  Move _extract_id from common to drive utils

* _collect_file_info: directly create info var

drive-utils: Functions related to google drive only

upload-utils: All Functions related to uploading a file ( excluding drive api functions ), pre and post upload functions

common-utils: Functions which cannot be added either in drive or upload utils


common-utils.bash: Don't log _url_decode trace when -D flag is used

for no reason, it just fills up the logs


README: Update credentials generation info