From 3f2e6dc4e71a64eb252a3e54ac3b0e9d36943e5b Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 11 Mar 2022 21:32:15 +0100 Subject: [PATCH] command to update all wordpress apps at once --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a73d5d3 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Update apps + +You can use the `update-app.sh` script to update an app, e.g. like this: + +``` +./update-app.sh akismet +``` + +To update all apps at once, use this command: + +``` +find ../wp-content/plugins/ -maxdepth 1 -type d | xargs -L1 basename | xargs -L1 ./update-app.sh +``` +