Skip to content
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

$TAXONKIT_DB variable for file locations? #17

Closed
tseemann opened this issue Oct 3, 2018 · 2 comments
Closed

$TAXONKIT_DB variable for file locations? #17

tseemann opened this issue Oct 3, 2018 · 2 comments

Comments

@tseemann
Copy link

tseemann commented Oct 3, 2018

And copy "names.dmp" and "nodes.dmp" to data directory: "$HOME/.taxonkit".

We use taxonkit on a shared server with many users.

Would you be able to honour an env variable like $TAXONKIT_DB so that we can put the files in one place that's not a home directory?

Then we can have global export TAXONKIT_DB=/opt/data/taxonkit/ and the two files will be found there?

We'd rather not set global aliases for --names-file and --nodes-file

@shenwei356
Copy link
Owner

Sure, I'll implement this in few days.

shenwei356 added a commit that referenced this issue Oct 5, 2018
…ir', also support environment variable 'TAXONKIT_DB' #17
@shenwei356
Copy link
Owner

Dear @tseemann , please test it. v0.2.5-dev4

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

No branches or pull requests

2 participants