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

8 lines
159 B
Bash
Executable File

#!/bin/bash
if [[ $1 == '' ]]; then
echo 'E| you must give a domain or pattern to search'
exit 1
fi
docker exec -it yacynet /scripts/purge-by-regex.sh "$1"