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

CLI help page #96

EG-tech opened this Issue Dec 15, 2017 · 1 comment


None yet
2 participants

EG-tech commented Dec 15, 2017


I've downloaded and installed the bagit-java library v4.12.3 as available via Homebrew. I've noticed that when invoking this tool directly via the command line, the $ bagit --help page seems to incorrectly define usage, directing users to invoke bagit-java with the command $ bag when I believe it should be $ bagit (see attached screenshot)

I understand from the docs that access to bagit-java via CLI is no longer actively supported, but given the popularity and ease-of-use of homebrew, I know a lot of beginner users are still interested in using this version of BagIt. Could the documentation be updated to reflect the correct command? I would be happy to contribute the change myself even, but can't find where this text is defined in the repo.


screen shot 2017-12-15 at 2 07 46 pm


This comment has been minimized.


johnscancella commented Dec 15, 2017

Hi @EG-tech thanks for submitting this bug. You are correct it should be bagit but the developer who wrote the CLI hardcoded the name bag. You can see that here

So unfortunately the only fix would be to hack the compiled jar file (not recommended) or to change the code to be dynamic and release a new version. As you know we are no longer supporting a command line version of the java library, so I believe the best would be to recommend users use the bagit python version instead.

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