the command i use to upload a folder is:
Code:
/location/to/gdrive upload --recursive /folder/to/upload/
which will upload everything in the 'upload' folder to my google drive account which is just what i wanted
only problem is i can't chose where the 'upload' folder gets uploaded to so it just make a folder called 'upload' in my main google drive account
problem is i run this command multiple times (for backups via cron) and everytimr is does this is makes a ne 'upload' folder is my google drive account so my google drive account is just full of 'upload' folders
a second problem is the 'delete file after successful upload' is for folder upload only file so i made something like this:
Code:
for f in /folder.to/upload/*.*; do /location/to/gdrive upload --name --delete $f; done
which seems to upload the files but there all called '--delete'
any help or a suggestion for a better google drive cli program that does what i need would be appreciated thanks
link to project:
https://github.com/prasmussen/gdrive