blob: 169d025fcbeb3c6c60e689b4864c5c367a517ac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
set -e
if [[ "$1" = "" ]]; then
echo missing name
exit
fi
test -d out && rm -r out
set -x
python3 1_graph.py conf_$1.py
python3 2_filter.py conf_$1.py
python3 3_archive.py conf_$1.py
rsync -r -e 'ssh -p23' --progress out/file/ memorial:fediverse/$1/file/
rsync -r -e 'ssh -p23' --progress --ignore-existing out/note/ memorial:fediverse/$1/note/
rsync -r -e 'ssh -p23' --progress out/user/ memorial:fediverse/$1/user/
python3 4_delete.py conf_$1.py
|