Help for this page

Select Code to Download


  1. or download this
    tar czf - SOURCE_DIR | ssh USER@REMOTE_HOST "cd REMOTE_DIR; tar xzf -"
    
    ...
    
    tar czf - SOURCE_DIR | ssh USER@REMOTE_HOST "cat >REMOTE_DIR/backup.tg
    +z"
    
  2. or download this
         -j, --bzip2
               filter the archive through bzip2
    ...
    
         -z, --gzip, --gunzip --ungzip
               filter the archive through gzip
    
  3. or download this
         -T, --files-from FILE
               get names to extract or create from FILE
    
  4. or download this
         -X, --exclude-from FILE
               exclude patterns listed in FILE
    
  5. or download this
    tar czf - SOURCE_DIR | pv | ssh USER@REMOTE_HOST "cd REMOTE_DIR; tar x
    +zf -"
    
    ...
    
    tar czf - SOURCE_DIR | pv | ssh USER@REMOTE_HOST "cat >REMOTE_DIR/back
    +up.tgz"