EPrints 2.3 Documentation - export_hashes command |
export_hashes - export the hash values for all documents in an repository.
export_hashes repository_id [options] [filename]
Every time a document in eprints is modified a new .xsh file is generated containing a hash of each file. This script creates a hash of each of these .xsh files and create a super .xsh file containing each of those hashes.
If no filename is given this script outputs to standard out.
The XML file produced may then be archived safely. You can then create an MD5 of that file and do something to prove you had it on the date you created it.
For example, publish it in an small-ad in a national paper.
Now you can prove you had that MD5 on that day, which proves you had the file output by export_hashes that day. The MD5's in that file prove that you had the .xsh file of a given document. Those files should prove that you had a given file.
This all assumes that nobody works out a way to do MD5's in reverse. And there's no legal precident yet.
That's why this is an experimental feature.
The ID of the EPrint repository to use.
A filename to write to. If omited this will write to stdout.
Print a brief help message and exit.
Print the full manual page and then exit.
Be vewwy vewwy quiet. This option will supress all output unless an error occurs.
Explain in detail what is going on. May be repeated for greater effect.
Output version information and exit.
Output hashes of ALL .xsh files for each document, not just the most recent. This takes longer but should be logged periodically.
EPrints 2.3 Documentation - export_hashes command |