yacy-maintenance-scripts/x/purge-by-lang

8 lines
160 B
Bash
Executable File

#!/bin/bash
if [[ $1 == '' ]]; then
echo 'E| you must give a lang code to delete'
exit 1
fi
docker exec -it yacynet /scripts/purge-by-lang.sh "$1" noconfirm