Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
habrok:data_management:transferring_data [2022/12/20 15:54] fokkehabrok:data_management:transferring_data [2025/05/26 13:37] (current) bob
Line 7: Line 7:
  
 The MobaXterm SSH client offers a file browser interface to files on the Hábrók cluster. As shown in the following figure. The MobaXterm SSH client offers a file browser interface to files on the Hábrók cluster. As shown in the following figure.
-{{habrok:introduction:what_is_a_cluster:mobaxterm_file_browser.png?nolink|}}+ 
 +{{habrok:additional_information:course_material:mobaxterm_file_browser.png?nolink|}}
  
 This interface can be used to create directories and for downloading and uploading files. The interface offers a upload and download icon above the file listing. Files can also be dragged and dropped between MobaXterm and the Windows file explorer. The last way also allows a full directory including files to be transferred to or from Hábrók. This interface can be used to create directories and for downloading and uploading files. The interface offers a upload and download icon above the file listing. Files can also be dragged and dropped between MobaXterm and the Windows file explorer. The last way also allows a full directory including files to be transferred to or from Hábrók.
Line 14: Line 15:
  
 There are also alternative file transfer clients available like: There are also alternative file transfer clients available like:
-  * [[https://filezilla-project.org/|Filezilla]]: Windows, OS X, Linux+  * [[https://filezilla-project.org/|Filezilla]]: Windows, OS X, Linux (See the page on [[habrok/data_management/clients/filezilla|FileZilla]] for more information on how to use it).
   * [[https://winscp.net|WinSCP]]: Windows   * [[https://winscp.net|WinSCP]]: Windows
  
Line 31: Line 32:
 Source and destination are mandatory. Either source or destination can be prefixed by a username and hostname for specifying the remote side. Here is an example that will transfer a single file from the local system to a directory, within the home directory of the user in Hábrók. Note that the ''user@host part'' is prefixed by a colon '':'': Source and destination are mandatory. Either source or destination can be prefixed by a username and hostname for specifying the remote side. Here is an example that will transfer a single file from the local system to a directory, within the home directory of the user in Hábrók. Note that the ''user@host part'' is prefixed by a colon '':'':
 <code> <code>
-alice@skries:~/workdir$ scp vars.yml username@habrok.hpc.rug.nl:my_project+alice@skries:~/workdir$ scp vars.yml username@login2.hb.hpc.rug.nl:my_project
 vars.yml                                      100% 3495   198.4KB/  00:00     vars.yml                                      100% 3495   198.4KB/  00:00    
 alice@skries:~/workdir$  alice@skries:~/workdir$ 
Line 42: Line 43:
 In order to copy the file back from Hábrók to the local system, source and destination have to be interchanged and adjusted where necessary. E.g.: In order to copy the file back from Hábrók to the local system, source and destination have to be interchanged and adjusted where necessary. E.g.:
 <code> <code>
-alice@skries:~/workdir$ scp username@habrok.hpc.rug.nl:my_project/vars.yml .+alice@skries:~/workdir$ scp username@login2.hb.rug.nl:my_project/vars.yml .
 vars.yml                                      100% 3495   191.7KB/  00:00     vars.yml                                      100% 3495   191.7KB/  00:00    
 alice@skries:~/workdir$  alice@skries:~/workdir$ 
Line 50: Line 51:
 In many cases we want to copy a whole directory from or to Hábrók. This can be done by using the option ''-r'', which like as for cp stands for recursive.  In many cases we want to copy a whole directory from or to Hábrók. This can be done by using the option ''-r'', which like as for cp stands for recursive. 
 <code> <code>
-alice@skries:~/workdir$ scp -r username@habrok.hpc.rug.nl:my_project .+alice@skries:~/workdir$ scp -r username@login2.hb.hpc.rug.nl:my_project .
 main.yml                                      100%  517    26.7KB/  00:00     main.yml                                      100%  517    26.7KB/  00:00    
 vars.yml                                      100% 3495   219.4KB/  00:00     vars.yml                                      100% 3495   219.4KB/  00:00    
Line 90: Line 91:
  
 <code> <code>
-john@skries:~/testdir$ rsync -avz username@habrok.hpc.rug.nl:pydaal/pydaal-tutorials .+john@skries:~/testdir$ rsync -avz username@login2.hb.hpc.rug.nl:pydaal/pydaal-tutorials .
 receiving incremental file list receiving incremental file list
 pydaal-tutorials/ pydaal-tutorials/