EPrints 2.2 Documentation - export_hashes command



NAME

export_hashes - export the hash values for all documents in an archive.


SYNOPSIS

export_hashes archiveid [options] [filename]


DESCRIPTION

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.


ARGUMENTS

archiveid
The ID of the EPrint archive to use.

filename
A filename to write to. If omited this will write to stdout.


OPTIONS

--help
Print a brief help message and exit.

--man
Print the full manual page and then exit.

--quiet
Be vewwy vewwy quiet. This option will supress all output unless an error occurs.

--verbose
Explain in detail what is going on. May be repeated for greater effect.

--version
Output version information and exit.

--all
Output hashes of ALL .xsh files for each document, not just the most recent. This takes longer but should be logged periodically.


AUTHOR

This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.


VERSION

EPrints Version: 2.2.1


CONTACT

For more information goto http://www.eprints.org/ which give information on mailing lists and the like.

Chris Gutteridge may be contacted at support@eprints.org

Should you need a real world address for some reason, EPrints can be contacted in the real world at

 EPrints c/o Christopher Gutteridge
 Department of Electronics and Computer Science
 University of Southampton
 SO17 1BJ
 United Kingdom


COPYRIGHT

This file is part of EPrints 2.

Copyright (c) 2000,2001,2002 University of Southampton, UK. SO17 1BJ.

EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

EPrints 2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

 EPrints 2.2 Documentation - export_hashes command