Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

cannot push files directly to a directory on google drive #10

Closed
3xton opened this issue Oct 22, 2014 · 6 comments
Closed

cannot push files directly to a directory on google drive #10

3xton opened this issue Oct 22, 2014 · 6 comments

Comments

@3xton
Copy link

3xton commented Oct 22, 2014

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

@barbalex
Copy link

barbalex commented Nov 3, 2014

+1

@3xton
Copy link
Author

3xton commented Nov 3, 2014

Hi,
Thank you for your prompt reply. Can you share the syntax please?

@barbalex
Copy link

barbalex commented Nov 3, 2014

sorry for being unclear: I just wanted to upvote your issue. I face the same question...

@odeke-em
Copy link
Contributor

odeke-em commented Nov 8, 2014

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.

@odeke-em
Copy link
Contributor

@rakyll this one too.

@rakyll
Copy link
Owner

rakyll commented Nov 13, 2014

Thanks, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants