APTrust Partner Tools can help you validate bags and manage your AWS buckets. Use the links below download the tools. OSX (64-bit) (v 1.03 - 12/14/2015) Each archive contains the five executable files listed below. There is no installer. Simply put the executables where you want them and run them from the command line.
Config FileAll of the tools except apt_validate require a simple config file with five name-value pairs. Note that quotes are optional, and comment lines begin with a hash mark. # Config for apt_upload and apt_download AwsAccessKeyId = 123456789XYZ AwsSecretAccessKey = THIS KEY INCLUDES SPACES AND DOES NOT NEED QUOTES ReceivingBucket = 'aptrust.receiving.university.edu' RestorationBucket = "aptrust.restore.university.edu" DownloadDir = "/home/josie/downloads" If you prefer not to put your AWS keys in the config file, you can put them into environment variables called AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. ReceivingBucket is the name of the S3 bucket that will hold your uploaded APTrust bags that are awaiting ingest. RestorationBucket is the name of the S3 bucket that will hold your restored APTrust bags. DownloadDir is the name of the local directory in which to save files downloaded from your APTrust restoration bucket. The APTrust config currently does not expand ~ to your home directory, so use an absolute path to be safe. If you save your config file as ~/.aptrust_partner.conf in Linux/Mac or as %HOMEPATH%\.aptrust_partner.conf under Windows, you will not have to specify a --config option when you run the tools. Otherwise, run the tools with the --config file pointing to the full path of your configuration file. HelpYou can view any program's built-in documentation by passing the --help flag. If you run into problems, send a message to help [at] aptrust.org. |