Created
October 17, 2017 09:19
-
-
Save Kartoffel/8b1b51586e8ba2367541812ebee19cff to your computer and use it in GitHub Desktop.
Backup etherpad pads, starting from one pad that contains the URLs of the other pads to backup
This file contains hidden or 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
curl -o badge https://pad.sha2017.org/p/badge/export/txt | |
for i in $(cat badge | grep -Po '(?<=pad.sha2017.org\/p\/)(.*)'); do curl -o $i "https://pad.sha2017.org/p/$i/export/txt"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment