cannot push files directly to a directory on google drive
3xton opened this issue · 6 comments
Hello,
How can I push files from local computer to a specific directory on google drive?
i can push files directly to my root folder on the google drive.
by the way, it is a very good client. it is fast and efficient.
Thank you,
Daniel Friedman
Trixton LTD.
Mobile: 972.50.6655579
+1
Hi,
Thank you for your prompt reply. Can you share the syntax please?
sorry for being unclear: I just wanted to upvote your issue. I face the same question...
To push to a specific directory, please use this syntax, for example if ~/JackBauerGoogle is your main sync directory, and Folder2 is a directory inside it.
go run main.go push ~/JackBauerGoogle/Folder2
or
$ push ~/JackBauerGoogle/Folder2
Now to take it an exciting level, you can even push up a specific directory that doesn't even yet exist on the cloud, just make sure it is nested in the main sync point
e.g
$ mkdir -p ~/JackBauerGoogle/test1/test1_1
$ mkdir -p ~/JackBauerGoogle/test2/test2_1 # Just to prove that you can push solely to test1
$ date > ~/JackBauerGoogle/test1/test1_1/now.date
$ date > ~/JackBauerGoogle/test2/test2_1/now.date # Just as a control
$ push ~/JackBauerGoogle/test1/test1_1
That should only push content up for test1 and only the specified prefix.
Let me know if cuts the deal for y'all.
Thanks, closing.