1

I usually access my Google Drive using Cyberduck. So far, no problem with creating folders, moving files, etc. Then I noticed it has a command line interface called duck. Should be handy since I work in CLI a lot.

My question is how to upload a file with it? Example: there's a folder called dev123 under the root folder, and I want to upload a test_30Oct2023.txt on it. I tried:

duck --username <google username> --upload googledrive://dev123/test_30Oct2023.txt

Got this error:

Missing argument for option: upload

Try 'duck --help' for more options.

1 Answer 1

1

The Cyberduck command-line documentation documents the syntax.

Upload file to remote directory using

duck --upload protocol:/<folder>/ <file>
2
  • 1
    Ah silly me. I forget there should be a space before filename. Thanks.
    – anta40
    Commented Oct 30, 2023 at 16:37
  • Duck debugging to the rescue! Thanks for asking this question, I learned there's a CLI for this useful tool, @anta40
    – bmike
    Commented Oct 30, 2023 at 17:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .