DAFixity: Data Accessioner Fixity Checker
DAFixity is a simple file fixity checker designed to work with the Data Accessioner tool. It parses the report generated by Data Accessioner, creates a list of accessioned files and their checksums, then validates those checksums against the accessioned files on disk. It produces a detailed log, as well as a CSV report.
- A recent version of Java (>= 1.8)
- Maven (>= 3.0)
DAFixity is built using Maven. To build, clone the repository:
git clone https://github.com/sprater/dafixity.git
Then execute the following command in the top-level directory:
mvn clean package
A distributable zip file will be built and placed in the
subdirectory, with the name
For testing purposes, you may run the created executable jar in
target/ folder directly:
Unzip the distribution zip file in the location of your choice. All dependencies are included within the package.
dafixity in the
$ cd /path/to/dafixity-<version> $ ./dafixity -r /path/to/da/report -d /path/to/top/of/accession/tree usage: dafixity [options] -r,--report <REPORT> Path to Data Accessioner report file -d,--directory <DIRECTORY> Parent directory for accession tree in the report -h,--help This help message
The logs are written to
report is written to
where YYYYMMDDHHmmss is the date-time stamp of the beginning of
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Copyright © 2017 by Scott Prater.
DAFixity 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 3 of the License, or (at your option) any later version.
DAFixity 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 this program. If not, see http://www.gnu.org/licenses/.