ArchivesSpace repository EAD Exporter

Exports all published resource record EAD XML files associated with a single repository into a zip archive. This zip file will be saved in the ArchivesSpace data directory (as defined in config.rb) and include the repository id in the filename.


./scripts/ user password repository_id

A best practice would be to put the password in a hidden file such as:

touch ~/.aspace_password
chmod 0600 ~/.aspace_password
vi ~/.aspace_password # enter your password

Then call the script like:

./scripts/ user $(cat /home/user/.aspace_password) repository_id

This way you avoid directly exposing it on the command line or in crontab etc.