LibraryOfCongress / bagit-java

Java library to support the BagIt specification.
Other
70 stars 50 forks source link

Extra Directory Created #132

Open gnosisgithub opened 5 years ago

gnosisgithub commented 5 years ago

BagIt-Version: 0.97

When I run bagit it always creates a tertiary directory:

For example: C:\Users\smith\Desktop\desktop\bagit-python-master>bagit.py --contact-name 'Stephen' C:\Users\smith\Desktop\project\Appendices

===> C:\Users\smith\Desktop\project\Appendices becomes: C:\Users\sklein\Desktop\project\data\tmpvi4hndq5\Appendices\

Is this a bug? Will it effect checksum reporting? If so, how to prevent the creation of this random directory (in this example:\tmpvi4hndq5)

Also, the first time I run bagit: 'C:\Users\smith\Desktop\desktop\bagit-python-master>bagit.py --contact-name 'Stephen' C:\Users\smith\Desktop\project\Appendices' always fails, so I always have to run the command a second time in the same command prompt.

nkrabben commented 5 years ago

This is an issue with bagit-python. It should be reported in this repo. https://github.com/LibraryOfCongress/bagit-python

If you repost it there, can you confirm that the bagging command finished processing? Bagit-python uses a temporary folder to simplify some of the processing and file movements, but it should be cleaned up when bagging finishes.

gnosisgithub commented 5 years ago

Thanks, Nick. Sorry for my sloppiness.