Page History
...
Code Block |
---|
/dspace/bin/dspace packager -d -t AIP -e _eperson_<eperson> -i _handle_<handle> _file-path_ |
for example:
Code Block |
---|
/dspace/bin/dspace packager -d -t AIP -e florey@mit.edu -i 1721.1/4567 aip4567.zip |
The above code will export the object of the given handle (1721.1/4567) into an AIP file named "aip4567.zip". This will not include any child objects for Communities or Collections.
Exporting AIP Hierarchy
To export an AIP hierarchy, use this 'packager' command template:
Code Block |
---|
/dspace/bin/dspace packager -d -t AIP -e <eperson> -i <handle> -o includeChildren=true -o childDirectory=<dir-path> <file-path>
|
for example:
Code Block |
---|
/dspace/bin/dspace packager -d -t AIP -e florey@mit.edu -i 1721.1/4567 -o includeChildren=true -o childDirectory=/path/to/children-aips/ aip4567.zip
|
The above code will export the object of the given handle (1721.1/4567) into an AIP file named "aip4567.zip". In addition it would export all children objects to a directory at the path "/path/to/children-aips/". The child AIPs are all named using the following format:
<Obj-Type>@<Handle-with-dashes>.zip
(e.g. COMMUNITY@123456789-1.zip, COLLECTION@123456789-2.zip, ITEM@123456789-200.zip)- Or, if it doesn't have a handle:
<Obj-Type>@internal-id-<DSpace-ID>.zip
- Or, if it doesn't have a handle:
Overview
Content Tools