Created
August 28, 2017 08:30
-
-
Save ddeimeke/f155955573c6411c5eeb0f9de898cbf2 to your computer and use it in GitHub Desktop.
Resubscribe all GNUsocial Feeds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
cd /srv/www/gnusocial.ch/plugins/OStatus/scripts | |
sudo -u apache php gcfeeds.php \ | |
| awk '{print $1}' \ | |
| while read feed; do | |
sudo -u apache php resub-feed.php "$feed" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment