Skip to content

Commit 190f124

Browse files
authored
Update README.md
1 parent 5d495f8 commit 190f124

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Based on user input, adds key-value pairs from a specified CSV file of DSpace it
3939
#### [addKeyValuePairToCollection.py](addKeyValuePairToCollection.py)
4040
Based on user input, adds a specified key-value pair with a specified language value to every item in the collection with the specified handle.
4141

42+
#### [addKeyValuePairToCommunity.py](addKeyValuePairToCommunity.py)
43+
44+
#### [addNewItemsToCollection.py](addNewItemsToCollection.py)
45+
4246
#### [createItemMetadataFromCSV.py](createItemMetadataFromCSV.py)
4347
Based on user input, creates a JSON file of metadata that can be added to a DSpace item from the specified CSV file or from values directly specified in the script. The 'createMetadataElementCSV' function in the script is used to create a metadata element from the specified CSV file and has three variables:
4448

@@ -52,11 +56,19 @@ The 'createMetadataElementDirect' function in the script is used to create a met
5256
- 'value' - The actual value of the element.
5357
- 'language' - The desired language value for the element.
5458

59+
#### [deleteBitstreamsFromItem.py](deleteBitstreamsFromItem.py)
60+
Based on user input, removes all bitstreams associated with an item with the specified handle.
61+
5562
#### [deleteKeyFromCollection.py](deleteKeyFromCollection.py)
5663
Based on user input, removes all key-value pairs with the specified key for every item in the collection with the specified handle.
5764

58-
#### [deleteBitstreamsFromItem.py](deleteBitstreamsFromItem.py)
59-
Based on user input, removes all bitstreams associated with an item with the specified handle.
65+
#### [deleteKeyFromCommunity.py](deleteKeyFromCommunity.py)
66+
67+
#### [deleteKeyValuePairFromCollection.py](deleteKeyValuePairFromCollection.py)
68+
69+
#### [editBitstreamsNames.py](editBitstreamsNames.py)
70+
71+
#### [overwriteExistingMetadata.py](overwriteExistingMetadata.py)
6072

6173
#### [postCollection.py](postCollection.py)
6274
Based on user input, creates a collection with a specified name within the specified community. In the specified directory (within the filePath set by the secrets.py file), the script creates items and associated metadata based on a 'collectionMetadata.json' file in the directory. Based on the specified file extension, the script then posts each file in the directory with that extension as a bitstream for the appropriate item, which is determined by having the file name (minus the file extension) in a 'dc.identifier.other' field in the item metadata record.
@@ -81,11 +93,19 @@ Based on user input, updates key-value pairs from the specified CSV file with th
8193
#### [replaceUnnecessarySpaces.py](replaceUnnecessarySpaces.py)
8294
Based on user input, removes double spaces, triple spaces, and spaces before commas in the values from the specified key in the specified community.
8395

96+
#### [replaceValueInCollection.py](replaceValueInCollection.py)
97+
98+
#### [replaceValueInCommunityFromCSV.py](replaceValueInCommunityFromCSV.py)
99+
84100
#### [repositoryMetadataBackup.py](repositoryMetadataBackup.py)
85101
Creates a folder with a timestamp in the folder name and creates a JSON file for every collection in the repository with the metadata for all of the items in that collection.
86102

87103
#### [repositoryMetadataRestore.py](repositoryMetadataRestore.py)
88104
Based on user input, restores the metadata from a specified backup folder that was created by the repositoryMetadataBackup.py script.
89105

106+
#### [splitFieldIntoMultipleFields.py](splitFieldIntoMultipleFields.py)
107+
90108
#### [updateLanguageTagsForKey.py](updateLanguageTagsForKey.py)
91109
Based on user input, updates the language value for the specified key to 'en_us' for all items with that key in the repository. A CSV log is written with all of the changes made and a 'dc.description.provenance' note describing the change is added to the metadata of each item that is updated.
110+
111+
#### [updateLanguageTagsForKeyInCollection.py](updateLanguageTagsForKeyInCollection.py)

0 commit comments

Comments
 (0)