This commit is contained in:
relikd
2024-02-26 22:03:19 +01:00
commit 996e504a9f
15 changed files with 1318 additions and 0 deletions

10
tools/check_error_no_plist.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Will print all ids where error is set to permanent but a plist exists.
cd "$(dirname "$0")" || exit
while read -r uid; do
fname="data/$((uid/1000))/$uid"
if [ -f "../$fname.plist" ]; then echo "$fname.plist"; fi
if [ -f "../$fname.png" ]; then echo "$fname.png"; fi
if [ -f "../$fname.jpg" ]; then echo "$fname.jpg"; fi
done < <(sqlite3 ../data/ipa_cache.db 'SELECT pk FROM idx WHERE done=4;')