Commit 22c258ee7ed60324562ce29b3916f2f7f5efb054

Thomas de Grivel 2024-06-24T11:34:27

backup_home

diff --git a/bin/backup_home b/bin/backup_home
index 93a9dbe..82c4e9b 100755
--- a/bin/backup_home
+++ b/bin/backup_home
@@ -13,7 +13,9 @@ HOSTS="$HOSTS oaa os vuchil vulon vusea vusing"
 
 PATHS="$@"
 if [ "x$PATHS" = "x" ]; then
-    PATHS="Documents c/thodg common-lisp/thodg config erlang/thodg kmx.io mathematics patrice ports ruby/thodg txt/thodg"
+    PATHS="Documents Pictures/thodg c/thodg common-lisp/thodg config"
+    PATHS="$PATHS erlang/thodg kmx.io mathematics patrice ports"
+    PATHS="$PATHS ruby/thodg txt/thodg"
 fi
 
 run () {
@@ -22,6 +24,9 @@ run () {
 }
 
 cd
+for P in $PATHS; do
+    run rsync -a --delete-before "$P" s86pro:/sdcard/dx/"$(dirname "$P")/"
+done
 for HOST in $HOSTS; do
     for P in $PATHS; do
         run rsync -a --delete-before "$P" "$HOST":"$(dirname "$P")/"