Comments (6)
Where did you get the idea of using .exclude / .include files? grive never had support for them :)
Although I'm planning to implement something like this because you're not the only one asking :)
from grive2.
I wish I could remember, but I thought it was implemented with grive2. :-?
At this stage, is there any way to manage selective sync, other than by
using the -s switch?
from grive2.
No, -s is currently the only way to do selective sync...
from grive2.
I'm not much of a programmer, not even bash, but there should be a way to do something like:
#! /bin/bash
for i in cat .include
; do
grive -s $i
done;
That would take care of local directories. Not sure about new remote directories -- I guess that would have to be managed manually at least initially, and then subsequent syncs would depend on adding the new directory to the .include file?
What do you think?
from grive2.
I had an idea of adding regexp exclude parameter recently... maybe "include" parameter should be also converted to regexp? Although with perl regexp it's simple to implement exclude via include or vice versa with --exclude '^(?!include1|include2|include3|...)'
from grive2.
I've just added --ignore regexp option, please check the master branch.
from grive2.
Related Issues (20)
- Unable to ignore .git/ files and node_modules HOT 2
- CMake error according to policy CMP0004 HOT 5
- Issue with initial sync HOT 2
- authenticate the OAuth2 HOT 4
- Feature : an easy way to install on Linux (flatpak, snap,PPA) HOT 9
- Produce a static binary HOT 3
- Error 403
- CurlAgent Error HOT 1
- Request failed due to auth token expired: 401
- .griveignore not working
- Can't find sync services status with systemctl HOT 11
- Error 400: invalid_request HOT 1
- Error 400: invalid_request HOT 1
- Can't sync directory outside home HOT 5
- Authenticate without Browser HOT 1
- error while loading shared libraries: libsframe.so.0 HOT 3
- sync google sheets HOT 1
- Error lines in the end of sync "request failed due to auth token expired: 401 (body: ). refreshing token exception: /home/kpaxradio/Programs/grive2/libgrive/src/json/JsonParser.cc(165): Throw in function void gr::JsonParser::Parse(const char*, std::size_t)"
- grive2 -a fails after opening the localhost screen
- grive -a returns localhost error HOT 1
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 grive2.