Changes between Version 21 and Version 22 of cypress/FileTransfer


Ignore:
Timestamp:
11/07/22 15:41:18 (18 months ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/FileTransfer

    v21 v22  
    55== Transferring Files ==
    66=== Windows 10, WSL, Linux, and Mac Terminal Window ===
     7==== scp command ====
    78You may transfer files between your workstation and Cypress on the command line using the '''scp''' command. This command behaves much like the basic Linux '''cp''' command, except you may use a remote address as the source or destination file. The syntax is as follows:
    89{{{
     
    1920user@localhost> scp -r tulaneID@cypress1.tulane.edu:/home/tulaneID/simdata .
    2021}}}
     22
     23==== rsync command ====
     24You may transfer files between your workstation and Cypress on the command line using the '''rsync''' command. The syntax is as follows:
     25{{{
     26rsync source_file destination_file
     27}}}
     28
     29The following command will copy the file testfile from the ''/home/tulaneID/'' directory on the remote server ''cypress1.tulane.edu'' to your workstation's local directory "." (a period represents the current working directory).
     30{{{
     31user@localhost> rsync tulaneID@cypress1.tulane.edu:/home/tulaneID/testfile .
     32}}}
     33
     34To copy a directory along with all its contents you will need to add the '''-r''' recursive flag. The following command will copy the ''simdata directory'' and all its contents to your local machine.
     35{{{
     36user@localhost> rsync -r tulaneID@cypress1.tulane.edu:/home/tulaneID/simdata .
     37}}}
     38
     39===== Advanced Options =====
     40{{{
     41-a | copy files recursively
     42-h | produce a readable output
     43–progress | displays the process while the command is being run
     44-q | processes running in the background will not be shown
     45-u | skip files newer on destination
     46-v | processes that are run will be written out for the user to read
     47-z | compress the data
     48}}}
     49
    2150
    2251=== Graphical Software ===