command to update all wordpress apps at once

pyinfra
0x90.space 2023-12-07 21:55:15 +00:00
parent 2de79928de
commit 45bf1d582e
1 changed files with 14 additions and 0 deletions

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