KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
bagins
★ 13
Open GitHub ↗
A BagIt Library in the Go Language
Download README (.md)
Explore Similar Repositories
dart
:
Create bags based on BagIt profiles and send them off into the ether (EasyStore is now DART)
bdbag
:
Big Data Bag Utilities
bagit
:
Ruby Library and Command Line tools for BagIt
bagit-ro
:
Research Object BagIt archive
bagit-profiles-validator
:
A simple Python module for validating BagIt Profiles.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
bagins
?
Download (.md)
[](https://travis-ci.org/APTrust/bagins) BagIns - BagIt Library in Go ============================ This is a library for working with `BagIt <http://en.wikipedia.org/wiki/BagIt>`_ hierarchal file packages. It uses the `Go Language <http://golang.org/>`_ to leverage its speed and concurrency features to take advantage of manipulating bags in a cloud based enviorment. I'm fairly new to the Go Language so excuse the prototype nature of the code in general. **GoDocs For This Project:** http://godoc.org/github.com/APTrust/bagins Installation ------------ This package is "go get-able" so simply import the package via 'github.com/APTrust/bagins' or use the [go get](http://golang.org/cmd/go/#hdr-Download_and_installpackages_and_dependencies) command directly as follows:: go get github.com/APTrust/bagins Modifying The Code ------------------ To keep this project "go get-able" you will need to create the top level directories under your go source directory and then checkout the code into it like so:: Switch to your Go source directory: cd $GOPATH/src Create the parent directories: mkdir -p github.com/APTrust Switch to the directory you just created: cd github.com/APTrust Checkout the source code via git: git clone https://github.com/APTrust/bagins.git Usage ----- The Library is still under development, there is basic code for formatting and writing Manifest and Tag files as well as utilities for file checksumming files. Soon I'll tie it all together with a basic bag creation code. I'll post examples of it here when complete. Command Line Executable ----------------------- This library includes a command line executable in the directory github.com/APtrust/bagins/bagmaker Assuming you have checked out the code to your GOPATH, to build and compile this just execute:: >go install $GOPATH/src/github.com/APTrust/bagins/bagmaker/bagmaker.go If you have GOBIN set this will deposite a compile file called *bagmaker* into your GOBIN directory. Usage: ./bagmaker -dir <value> -name <value> -payload <value> [-algo <value>] Flags: -algo <value> Checksum algorithm to use. md5, sha1, sha224, sha256, sha512, or sha384. -dir <value> Directory to create the bag. -name <value> Name for the bag root directory. -payload <value> Directory of files to parse into the bag