labbots / google-drive-upload

Bash scripts to upload files to google drive
https://labbots.github.io/google-drive-upload/
MIT License
698 stars 145 forks source link

No valid arguments provided for root dir flag #175

Closed gnai closed 2 years ago

gnai commented 3 years ago

Hello! I couldn't set the root folder again with the -r flag

gupload -r default={asfejhI9230rNLDCNaionareefff} 
No valid arguments provided, use -h/--help flag to see usage.
gnai commented 3 years ago

I was able to edit the config file using sudo nano and the folder ID and the name. Setting this up with -r flag was impossible. I was also wondering if that needs to be set up for someone who has no knowledge in coding, it would be a cumbersome process. Making it more straight-forward and an out-of-the box process to set up/connect the auth. to drive would be ideal. Thank you for this tool ! I am actually using it to upload files automatically with LUA. Which can't be done in Python from LUA ! Thanks again

Akianonymus commented 3 years ago

@Gnai Why enclosing it in parentheses ?

Try

gupload -r default='asfejhI9230rNLDCNaionareefff'
gnai commented 3 years ago

same error, I tried everything zsh: command not found: gupload is it possible that I am using zsh?

Akianonymus commented 3 years ago

How did you install gupload ?

gnai commented 3 years ago

with the command line using pip

Akianonymus commented 3 years ago

I don't think this gupload is on pip

Read this: https://labbots.github.io/google-drive-upload/setup/install/