bagit-python icon indicating copy to clipboard operation
bagit-python copied to clipboard

Create a bag at A for an existing folder at B, do not move anything

Open simonmeggle opened this issue 4 years ago • 0 comments

Question, is it possible to create a bag at location A for an existing data directory at B without moving the data into the bag's data/ subdirectory?

My use case is that I want to write a plugin for the monitoring system Checkmk which makes it possible for IT admins to monitor files fo their fixity. To be more concret, let's say a file server shares tons of long-term data which must not change never ever. Bagit would be a perfect fit for a python-based check script which alarms if the integrity of the data is violated.

So I am searching for a way to use Bagit completely non-invasive, because moving the monitored (shared) folder is a no-go. I am sure that having the payload outside of the bag directory is against the Bagit convention 2.1.2, but is there any workaround I can use to achive my goal?

Thanks, Simon

PS: I also have seen #67 which is a similar use case.

simonmeggle avatar Dec 05 '21 00:12 simonmeggle