blob: 9c2160d99bf9fb7fce776439be8eb22ca39ad861 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/bin/sh
serv_addr="root@jozanofastora.xyz"
# jozanofastora-www
# rsync -urvhP --delete-after \
# --exclude '.*' \
# --exclude 'README.org' \
# --exclude 'LICENSE' \
# "$HOME"/dev/web/jozanofastora-www/ \
# $serv_addr:/usr/local/www/jozan
# gitjoe-www
# rsync -urvhP --delete-after \
# --exclude '.*' \
# --exclude 'README.org' \
# --exclude 'LICENSE' \
# --exclude 'users' \
# "$HOME"/dev/web/gitjoe-www/ \
# $serv_addr:/usr/local/www/gitjoe
# gitjoe-cgit
rsync -urvhP \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/web/gitjoe-cgit/ \
$serv_addr:/usr/local/www/cgit
# jozanofastora-gemini
# rsync -urvhP --delete-after \
# --exclude '.*' \
# --exclude 'README.org' \
# --exclude 'LICENSE' \
# "$HOME"/dev/web/jozanofastora-gemini/ \
# $serv_addr:/usr/local/gemini
# # jozanofastora-scripts
# rsync -urvhP --delete-after \
# --exclude '.*' \
# --exclude 'README.org' \
# --exclude 'LICENSE' \
# "$HOME"/dev/perl/jozanofastora-scripts/ \
# $serv_addr:/root/scripts
# # backups
# rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat
|