command to update all wordpress apps at once

This commit is contained in:
0x90.space 2023-12-07 21:55:15 +00:00
parent 2de79928de
commit 45bf1d582e

14
README.md Normal file
View file

@ -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
```