-
Notifications
You must be signed in to change notification settings - Fork 0
OD1 Migration Tools Examples
lsat12357 edited this page Sep 13, 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
> refine date created >= xxxx-xx-xx
> refine date modified >= xxxx-xx-xx
# note that when providing a filename, only letters, numbers, and underscore may be used
# dump all the pids with collection to file named osubaseball.yml
> dump pidsbycollection osubaseball
# dump all pids without collection to file
> dump pids osubaseball
# reset to do a new search
> new
> exit
# inspect output
$ less searchdata/osubaseball.yml