-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepopulate DB with static list #143
Comments
I would find this useful too. My case is I often work from a VM shared file system which doesn't exist when the VM is turned off, causing z to drop the paths. |
👍 |
This seems like a couple issues that are related. I want to avoid adding "prepopulation" code to As far as not dropping paths for e.g. network drives, I've pushed a branch Please try it out, if it works well, I'll merge it to master. My hope is maybe having this going will make it less important to prepopulate things, since network shares would behave as expected. |
the |
I'd also love to see a solution to this problem. Even after a few weeks of usage, I'm sure I'll still regularly run into situations where I have to manually Multiply that by all the local and remote systems I regularly work with. And that work could also get wiped out because of #198, or just moving to a new device. I think @rupa may have been referring to #48 (comment) as a way to prime the datafile: # add all subdirs of current directory to index, with rank 5
for x in {1..5}; do
find "." -type d -exec z --add \'\{\}\' \;
done That gives me |
Made some progress; no errors, but nothing gets added to the datafile either.
Still needs to exclude things like |
I have a static list of customer files which I would like to initialize the database with. These entries should be able to age but should never be dropped. Is this possible in z?
The text was updated successfully, but these errors were encountered: