{"id":20635776,"url":"https://github.com/psu-libraries/psubagger","last_synced_at":"2026-07-19T13:46:34.908Z","repository":{"id":93233837,"uuid":"167571836","full_name":"psu-libraries/psuBagger","owner":"psu-libraries","description":"Bagging tools to prepare digital content for transfer to APTrust.","archived":false,"fork":false,"pushed_at":"2019-02-26T18:18:11.000Z","size":100266,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-24T18:59:46.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psu-libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-01-25T15:48:37.000Z","updated_at":"2023-12-18T18:41:30.000Z","dependencies_parsed_at":"2023-04-25T02:21:07.618Z","dependency_job_id":null,"html_url":"https://github.com/psu-libraries/psuBagger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psu-libraries/psuBagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2FpsuBagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2FpsuBagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2FpsuBagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2FpsuBagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psu-libraries","download_url":"https://codeload.github.com/psu-libraries/psuBagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psu-libraries%2FpsuBagger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35654696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-19T02:00:06.923Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T15:07:24.786Z","updated_at":"2026-07-19T13:46:34.900Z","avatar_url":"https://github.com/psu-libraries.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PSU Bagger\n\n## psuBagger.sh\n * This script may be used to convert any directory into an APTrust bag. It will bag in-place, not output a new directory. As of 2017-11-15, it must be run as the sudo user.\n * The following arguments must be used for the script to work.\n    * `-i` for the identifier of the content being bagged\n    * `-n` for the name of the content being bagged\n    * `-p` for the absolute path to the content being bagged\n * Minimal output will be directed to the terminal, verbose logging is in `/bagging/psuBagger/logs/psuBagger.txt`\n * Example usage:\n   * `sudo ./psuBagger.sh -i pstsc_01417 -n \"Three Mile Island Records\" -p /mnt/preservationii/bagging/pstsc_01417`\n\n## psuBaggerUploader.sh\n * This script will do everything above, but also send the bag to APTrust.\n\n## eraserBagger.sh\n  * This script needs to be updated to use the APTrust member API. psuBagger adds the bag ID to a text file. eraserBagger checks those IDs against what has been ingested at APTrust. When a bag is fully ingested, eraserBagger will remove the bag from staging.\n\n## Dependencies\n  * [APTrust Partner Tools](https://wiki.aptrust.org/Partner_Tools#Config_Fi) require a configuration file for each user (`~/.aptrust_partner.conf`) to be established in advance.\n  * bagit-python will need to be separately downloaded to `tools/bagit-python`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsu-libraries%2Fpsubagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsu-libraries%2Fpsubagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsu-libraries%2Fpsubagger/lists"}