WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    File Transfer

    Linux
    1
    1
    12
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by

      PULL from remote:

      rsync -chavzP --stats remote_username@remote_host:path/to/remote_directory path/to/local_directory
      

      *rsync is only possible if the local AND remote machine have the package installed.
      **rsync option explanation: Ubuntu Wiki

      scp -r remote_username@remote_host:path/to/remote_directory path/to/local_directory
      

      *Recursively copy the contents of a directory from a remote host to a local directory

      SEND to remote:

      rsync -chavzP --stats path/to/local_directory remote_username@remote_host:path/to/remote_directory 
      

      *rsync is only possible if the local AND remote machine have the package installed.
      **rsync option explanation: Ubuntu Wiki

      scp  path/to/local_file remote_username@remote_host:path/to/remote_file
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors