Changes between Version 15 and Version 16 of cypress/FileTransfer


Ignore:
Timestamp:
Feb 25, 2021 12:34:50 PM (18 months ago)
Author:
cbaribault
Comment:

Corrected statement of options for generating rclone.conf file, bolded commands scp, cp, and rclone.

Legend:

Unmodified
Added
Removed
Modified
  • cypress/FileTransfer

    v15 v16  
    55== Transferring Files ==
    66=== Windows 10, WSL, Linux, and Mac Terminal Window ===
    7 You 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:
     7You 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:
    88{{{
    99scp source_file destination_file
     
    1515}}}
    1616
    17 To 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.
     17To 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.
    1818{{{
    1919user@localhost> scp -r remoteuser@cypress1.tulane.edu:/home/remoteuser/simdata .
     
    2121
    2222=== Tulane Box Accounts ===
    23 You may transfer files between your [https://tulane.box.com Tulane Box account] and Cypress on the command line using the ''rclone'' command. On Cypress, you can make the rclone command available for execution via the command {{{module load rclone}}} (see [[cypress/ModuleCommand|Module command]]).
     23In your Cypress session, you can transfer files between your [https://tulane.box.com Tulane Box account] and Cypress on the command line using the '''rclone''' command, which is available via the module '''rclone'''. (See Option 1 of 2 below and [[cypress/ModuleCommand|Module command]]).
    2424
    25 In order to use rclone on Cypress, you must first create the config file ''~/.config/rclone/rclone.conf'' on your Cypress account, which you can do most easily by first creating a reusable copy of it on your local machine and then copying the resulting local file to your Cypress account via the following.
     25In order to use rclone on Cypress, you must first create the config file ''~/.config/rclone/rclone.conf'' on your Cypress account. You can generate your ''rclone.conf'' file either directly in your Cypress session or by creating it on your local machine and then copying it to your Cypress account via one of the following options.
    2626
    27 ==== 1st of 2 Options: Generating Your rclone.conf File In Your Cypress Session ====
     27==== Option 1 of 2: Generating Your rclone.conf File In Your Cypress Session ====
    28281. Login to Cypress from your local machine with X11 forwarding. (See [[cypress/SshUsage#TunnelingXWindowsSessionviaSSH|X11 Forwarding]].)
    29292. In your Cypress session enter the following commands.
     
    5656
    5757
    58 ==== 2nd of 2 Options: Generating Your rclone.conf File Using Your Local Machine ====
     58==== Option 2 of 2: Generating Your rclone.conf File Using Your Local Machine ====
    59591. Download, install, and configure rclone on your local machine by following the instructions for Windows, Mac, or Linux as appropriate starting from the [https://rclone.org/install/ rclone installation site.]
    6060  a. During the above configuration, you will be prompted for a name for the Box remote system, e.g. '''TU-Box'''.