improved cleanup: delete duplicates from copied projects
This commit is contained in:
parent
676f422d1f
commit
631557e74a
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
# openrefine-batch.sh, Felix Lohmeier, v0.6.2, 01.03.2017
|
||||
# openrefine-batch.sh, Felix Lohmeier, v0.6.3, 01.03.2017
|
||||
# https://github.com/felixlohmeier/openrefine-batch
|
||||
|
||||
# user input
|
||||
|
@ -230,6 +230,10 @@ echo "cleanup..."
|
|||
docker stop -t=5000 ${uuid}
|
||||
docker rm ${uuid}
|
||||
rm -r -f ${outputdir}/workspace*.json
|
||||
# delete duplicates from copied projects
|
||||
if [ -n "$crossprojects" ]; then
|
||||
for i in "${crossprojects[@]}" ; do rm -r -f ${outputdir}/${i} done
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# time
|
||||
|
|
Loading…
Reference in New Issue