forked from elioqoshi/phplist-manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update.sh
10 lines (8 loc) · 784 Bytes
/
update.sh
1
2
3
4
5
6
7
8
9
#!/bin/bash
rm -f ch*.xhtml
wget objavi.booktype.pro/?book=phplist\&license=CC-BY-SA\&server=booki.flossmanuals.net\&mode=epub -O phpList_manual_$(date +%Y%m%d).epub
unzip -o phpList_manual_$(date +%Y%m%d).epub
wget objavi.booktype.pro/?book=phplist\&server=booki.flossmanuals.net\&license=CC-BY-SA\&mode=web -O phpList_manual_web_$(date +%Y%m%d).pdf
wget objavi.booktype.pro/?book=phplist\&server=booki.flossmanuals.net\&license=CC-BY-SA\&mode=openoffice -O phpList_manual_$(date +%Y%m%d).odt
wget objavi.booktype.pro/?book=phplist\&server=booki.flossmanuals.net\&license=CC-BY-SA\&mode=newspaper -O phpList_manual_pdf_$(date +%Y%m%d).pdf
wget objavi.booktype.pro/?book=phplist\&server=booki.flossmanuals.net\&license=CC-BY-SA\&mode=book -O phpList_manual_book_$(date +%Y%m%d).pdf