Changes between Version 17 and Version 18 of cypress/FileTransfer
- Timestamp:
- 04/03/21 19:54:19 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/FileTransfer
v17 v18 10 10 }}} 11 11 12 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).12 The 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). 13 13 {{{ 14 user@localhost> scp remoteuser@cypress1.tulane.edu:/home/remoteuser/testfile .14 user@localhost> scp tulaneID@cypress1.tulane.edu:/home/tulaneID/testfile . 15 15 }}} 16 16 17 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 user@localhost> scp -r remoteuser@cypress1.tulane.edu:/home/remoteuser/simdata .19 user@localhost> scp -r tulaneID@cypress1.tulane.edu:/home/tulaneID/simdata . 20 20 }}} 21 21