Commit 82f0475dd5ca60a501348b12b96b3a206d11edcd

Thomas de Grivel 2023-04-17T05:46:36

backup_home

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/bin/backup_home b/bin/backup_home
new file mode 100755
index 0000000..52549ad
--- /dev/null
+++ b/bin/backup_home
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+HOSTS="bim twice reed oaa os pfem vulon beetle proton pfem"
+
+run () {
+    echo "$@"
+    "$@"
+}
+
+cd
+for H in $HOSTS; do
+    run rsync -a Documents c common-lisp config erlang kmx.io ports ruby txt "$H":
+done