>.gdauth
Usage: generate token to enable all cmd google drive service.
This only need to run once in life time.
>.gdreset
Usage: reset your token if something bad happened or change drive acc.
>.gd
Usage: Upload file from local or uri/url/drivelink into google drive.
for drivelink it's upload only if you want to.
>.gdabort
Usage: Abort process uploading or downloading.
>.gdlist
Usage: Get list of folders and files with default size 50.
Use flags -l range[1-1000]
for limit output.
Use flags -p parents-folder_id
for lists given folder in gdrive.
>.gdf mkdir
Usage: Create gdrive folder.
>.gdf chck
Usage: Check file/folder in gdrive.
>.gdf rm
Usage: Delete files/folders in gdrive.
Can't be undone, this method skipping file trash, so be caution...
>.gdfset put
Usage: Change upload directory in gdrive.
>.gdfset rm
Usage: remove set parentId from cmd
>.gdfset put
into G_DRIVE_FOLDER_ID and if empty upload will go to root.
NOTE:
for >.gdlist
you can combine -l and -p flags with or without name at the same time, it must be -l
flags first before use -p
flags.
And by default it lists from latest 'modifiedTime' and then folders.