Skip to content

Instantly share code, notes, and snippets.

View aelkiss's full-sized avatar

Aaron Elkiss aelkiss

View GitHub Profile
@aelkiss
aelkiss / merge_repos.sh
Last active October 16, 2023 15:36
merge together babel repos
# based on https://josh.fail/2022/merging-git-repos-with-git-filter-repo/
# First, make a clean checkout of all the repositories
REPO_ROOT=~/Repositories/babel-merge
# REPO_ROOT=$(dirname $(realpath $0))
git_filter_repo="git filter-repo"
GIT_BASE=git@github.com:hathitrust
export REPO_ROOT git_filter_repo GIT_BASE
@aelkiss
aelkiss / link_dataset.py
Last active March 12, 2025 17:16
Make pairtree links from volume ids (for dataset)
@aelkiss
aelkiss / meta.yml
Created October 20, 2025 20:35
Creating a sample volume for HathiTrust
# Sample meta.yml file with page tagging for the above.
capture_date: 2025-10-20T15:04:00-04:00
scanner_user: "Test Scanner User"
scanner_make: "Test Scanner Make"
scanner_model: "Test Scanner Model"
pagedata:
00000001.tif: { label: "FRONT_COVER" }
00000004.tif: { label: "BLANK" }