Skip to content

Copy the first bitstream in an asset into the description field

Notifications You must be signed in to change notification settings

carj/asset-filename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

asset-filename

Copy the first bitstream in an asset into the description field

This script will find all the assets in a folder and for each asset search through the content for the first bitstream entity within the first representation. The bitstream file name will be set on the asset description field.

The script uses the Preservica v6 Entity API and its controlled from a properties file.

[Section]
parent.folder=
server.name=
user.username=
user.password=
user.tenant=

The reference of the parent folder containing the assets to be updated.

parent.folder=cff121a7-f76a-4e21-93fb-2a8f9f95761c

The Preservica server name

user.domain=eu.preservica.com

The Preservica tenant your user account belongs to

user.tenant=TENANT

Your Preservica account username

Your Preservica account password

user.password=xyz12345

About

Copy the first bitstream in an asset into the description field

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages