GithubHelp home page GithubHelp logo

Comments (6)

barbalex avatar barbalex commented on August 19, 2024

+1

from drive.

3xton avatar 3xton commented on August 19, 2024

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

from drive.

barbalex avatar barbalex commented on August 19, 2024

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

from drive.

odeke-em avatar odeke-em commented on August 19, 2024

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.

from drive.

odeke-em avatar odeke-em commented on August 19, 2024

@rakyll this one too.

from drive.

rakyll avatar rakyll commented on August 19, 2024

Thanks, closing.

from drive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.