Updated Main README.md of Repo to reflect addition of new scripts.

This commit is contained in:
2026-08-20 14:19:56 +02:00
parent 6444a814b0
commit 83c3b620e9
7 changed files with 994 additions and 288 deletions
+19
View File
@@ -0,0 +1,19 @@
#! /usr/bin/env bash
# Tool zum Schnellen prüfen mehrerer WordPress-Installationen
# Maintainer: peignerpausz
printf "Bitte Namen der zu prüfenden Instanzen einsetzen"
read wordpresses
printf '🚀 WP-Checks für folgende Instanzen %s 🛠️ \n' "$wordpresses"
found_errors=0
for a in $wordpresses; do
count=$(wp core verify-checksums --path="$wordpresses" | grep -v "Success" | wc -l)
count=$(wp plugin verify-checksums --all --path="$wordpresses" | grep -v "Success" | wc -l)
if [ "$count" -gt 0 ]; then
printf "❌ WordPress unter %s muss geprüft werden!\n" "$wordpresses"
found_errors=1
fi
done
if [ "$found_errors" -eq 0 ]; then
printf "✅ All systems green.\n"
fi