Changes between Version 2 and Version 3 of cypress/FileTransfer
- Timestamp:
- 08/19/15 08:12:30 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/FileTransfer
v2 v3 4 4 === Linux and Mac Command Line === 5 5 You may transfer files between your workstation and the cluster 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: 6 7 {{{scp source_file destination_file}}} 6 {{{ 7 scp source_file destination_file 8 }}} 8 9 9 10 The following command will copy the file testfile from the ''/home/remoteuser/'' directory on the remote server ''cypress1.tulane.edu'' to your workstation's local directory "." (a period represents the current working directory). 10 11 {{{user@localhost> scp remoteuser@cypress1.tulane.edu:/home/remoteuser/testfile .}}} 11 {{{ 12 user@localhost> scp remoteuser@cypress1.tulane.edu:/home/remoteuser/testfile . 13 }}} 12 14 13 15 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. 14 15 {{{user@localhost> scp -r remoteuser@cypress1.tulane.edu:/home/remoteuser/simdata .}}} 16 {{{ 17 user@localhost> scp -r remoteuser@cypress1.tulane.edu:/home/remoteuser/simdata . 18 }}} 16 19 17 20 === Graphical Software ===