prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.18k forks source link

Cant upload multiple files #581

Open LinuxCertifiable opened 3 years ago

LinuxCertifiable commented 3 years ago

When trying to upload multiple files I get a 'No valid arguments'

:~/testgooglefolder$ ls
BRC1.txt  BRC2.txt  BRC3.txt  HelloWorld.sh  testfile1.txt
:~/testgooglefolder$ gdrive upload BRC*
No valid arguments given, use 'gdrive help' to see available commands

Is there anyway to upload multiple files like this? gdrive takes the wild card (*) literally and doesn't apply it like bash commands should.

chenrui333 commented 2 years ago

Or put into some folder and run gdrive upload --recursive <folder> upload.

LinuxCertifiable commented 2 years ago

Hi All, I was still a noob when i wrote this. I fixed it with this: https://github.com/iitaazeev/BashGoogleDriveAPI/blob/main/Send_files_to_google_drive.sh

Thanks for your help