Snippets-logo-small
  • TYPO3 Typoscript
  • TYPO3 TSConfig
  • TYPO3 Install Tool
  • TYPO3 allg
  • Git
  • Javascript - JQuery
  • Unix
  • css
  • regular expressions
  • php
  • SQL
  • Ruby on Rails
  • Charset konvertieren
  • Screen Sharing with tmux
  • SSH
  • Partition mit chroot mounten
  • zertifikate für ssl erstellen zb. apache
  • grub bootloader für raid 1 installieren
  • debian pakete einspielen
  • copy files/directories between remote...
  • in dateien suchen

copy files/directories between remote servers

  • with ssh and tar 

    1
    2
    3
    4
    5
    
    tar -cpvSf – directory/ | ssh my.other.computer tar -xf – -C /destination/
    
    # or with a tar archive only
    
    tar -cpvzSf – directory/ | ssh my.other.computer 'cat > directory.tar.gz'
    by stefan
This site is made by tan3