pile/static_mirror.sh

6 lines
268 B
Bash
Executable file

#!/bin/bash
set -e
rsync -vr --delete sdbs:/var/www/sdbs-pile/docs/ docs/
rsync sdbs:/var/www/sdbs-pile/db.sqlite3 .
rm -rf static_pile
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent --directory-prefix=static_pile http://localhost:4002