This functionality can be useful if you wish to improve the quality of resources within ResourceSpace. It will replace the original file and regenerate the previews of any number of resources.
In order to match the new with the existing files, you will need to name all of your replacement files with either the resource id or the contents of another metadata field and then browse to Admin > Manage Resources > Replace Resource Batch.
Select the appropriate options and then proceed to the upload screen where you can drag and drop your files. When you start the upload this will automatically replace the original files with those that are being uploaded.
This is also possible for individual resources from the Resource Edit page. See Editing Resources.
This functionality also works alongside the CSV Upload plugin which allows you to quickly create a large number of resources by uploading the metadata, batch replace can then be used to add the file itself. Commonly a filename (mapped to a filename field) is specified in the CSV Upload in order to make this batch upload easier.
Updates in version 9.1 +
Soon you will have more control over which resources you want to replace by using the additional options. These new options will be available in version 9.1
- Ability to specify that only resources in a collection are replaced. Useful if you have a larger number of resources and duplicate filenames are likely
- Ablity to specify minimum and maximum resource IDs to replace. Useful when no collection is available. These values are ignored if a collection is specified
- Ability to replace resource files with files located in a folder on the server. Intended for system administrators 1
1Requires configuration option $batch_replace_local_folder to be set and offline jobs to be configured