Changes between Version 15 and Version 16 of cypress/FileTransfer
- Timestamp:
- 02/25/21 12:34:50 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/FileTransfer
v15 v16 5 5 == Transferring Files == 6 6 === 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: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: 8 8 {{{ 9 9 scp source_file destination_file … … 15 15 }}} 16 16 17 To copy a directory along with all its contents you will need to add the -rrecursive flag. The following command will copy the ''simdata directory'' and all its contents to your local machine.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. 18 18 {{{ 19 19 user@localhost> scp -r remoteuser@cypress1.tulane.edu:/home/remoteuser/simdata . … … 21 21 22 22 === 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]]).23 In 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]]). 24 24 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.25 In 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. 26 26 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 ==== 28 28 1. Login to Cypress from your local machine with X11 forwarding. (See [[cypress/SshUsage#TunnelingXWindowsSessionviaSSH|X11 Forwarding]].) 29 29 2. In your Cypress session enter the following commands. … … 56 56 57 57 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 ==== 59 59 1. 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.] 60 60 a. During the above configuration, you will be prompted for a name for the Box remote system, e.g. '''TU-Box'''.