Provide bulk metadata rewrite command
It's very rare that we want to modify metadata on a single file. Usually we have a class of thousands, all with the same change to be made to them. A version of
samweb modify-metadata that took a file listing the names of all the files to modify would be a great timesaver.
#1 Updated by Robert Illingworth almost 6 years ago
Use the python API and call samweb.modifyFileMetadata() in a loop. You can also decide on your own error handling this way, since the correct way to deal with failures isn't obvious with something like this - stop on the first error? Skip over errors and allow the rest to complete, then report them? Just ignore them?