Comments (6)
+1
from drive.
Hi,
Thank you for your prompt reply. Can you share the syntax please?
from drive.
sorry for being unclear: I just wanted to upvote your issue. I face the same question...
from drive.
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.
@rakyll this one too.
from drive.
Thanks, closing.
from drive.
Related Issues (20)
- 64 bit compilation issue? HOT 8
- Unable to build or run HOT 2
- Including Client Secret is security risk HOT 3
- Performance issues while pushing
- Reuploads files that were uploaded with another tool HOT 2
- git push -r moves all the older files of a drive into 'trash' HOT 8
- Push of directory changes file modification times HOT 7
- js and css files are uploaded as text/plain
- drive pull fails to fetch all files in large folder HOT 3
- [Feature Request] Show more session details of push/pulls
- Crash when pushing many files
- drive under new maintenance HOT 1
- Empty Trash HOT 2
- High risk of data loss on collaboration HOT 1
- command 'drive' not found HOT 4
- Use "less" as pager instead of "more" HOT 2
- cannot resolve symbolic paths
- `force` flag on mv command
- Archive project HOT 2
- What happened to google drive?How to solve this problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drive.