Skip to content

OD1 Migration Tools Examples

lsat12357 edited this page Apr 1, 2022 · 4 revisions

Example commands to make a pidlist for a given collection:

Dump by collection:

# Use asset-search tool in od-migration-tools
$ ./asset-search -d ./searchdata/
>
# use refine command to filter
# refine operates on current set and can be repeated
> refine collection http://oregondigital.org/resource/oregondigital:osu-baseball
> refine intact #filters out destroyed items
> refine reviewed #filters out unreviewed items
> refine parent #only cpds
> refine noparent #no cpds

# dump by set for given collection
> dump pidsbycollection osubaseball

# dump pids only for given collection
> dump pids osubaseball

> exit

# inspect output
$ less searchdata/osubaseball.yml
Clone this wiki locally