Bash script to remove objects given by a cvs list from viewer index.
Run script and move files to hotfolder.
. createPurgeFiles.sh
mv target/* /opt/digiverso/viewer/hotfolder
Coping the generated files to hotfolder is not part of the script, to give you a chance to check the generated files first.
If you find /r in your file names, remove windows line breaks first.
dos2unix objects2purge.csv