RSync

Aus Info-Theke
Zur Navigation springen Zur Suche springen


Optionen

  • --delete-excluded auch ausgeschlossene Dateien auf dem Ziel löschen
  • -vv mehr Info
  • --progress
  • --exclude PATTERN
    • Ausschlusspfade sind immer relativ zum Basisverzeichnis
  • --exclude-from FILE
  • -x keine Dateisystemgrenzen überschreiten
  • -e 'ssh -p PORT' Anderer Port als 22
# Genau einen Ordner ausschließen:
rsync --exclude /jonny/Downloads/ /home/jonny /tmp/jonny
# Alle Downloads-Ordner ausschließen:
rsync --exclude Downloads/ . /tmp/jonny
# und jetzt im aktuellen Verzeichnis: 
rsync -e 'ssh -p 58122' --exclude /Downloads/ . /tmp/jonny