rsync hinzugefügt

This commit is contained in:
2025-07-08 16:16:42 +00:00
commit 15228ffb8f

16
rsync Normal file
View File

@@ -0,0 +1,16 @@
rsync -avzh --info=progress2 --no-inc-recursive /pfad/zu/meinen/daten/ /pfad/zum/ziel/ 2>&1 | tee rsync_log.txt
# ziel ist zbps user@domain:folder/
--info=progress2 --no-inc-recursive
# zeigt den gesamtfortschritt # no inc ist wichtig das zuerst der geamte inhalt der zu kopeiren ist erfasst wird um den progress vernünftig darzustellen
2>&1 | tee rsync_log.txt
# sorgt dafür das der gesamte verbose output + fehler in eine logdatei geschrieben wird