add code for testing

This commit is contained in:
2024-06-25 23:27:09 +02:00
parent 656f095b68
commit 42a9db8dab

View File

@ -1,5 +1,9 @@
#!/usr/bin/bash
# for testing only
rm -f ./archive.sqlite3 ./archive-rule34.sqlite3 ./log.txt
rm -rf ./Download/*
[[ -f downloaded_r34.txt ]] || echo "no file to download from" || exit 1
cp downloaded_r34.txt to_download_r34.txt