--- title: Transferring Data #tags: #keywords: last_updated: 9 July 2019 #summary: "" sidebar: merlin6_sidebar permalink: /merlin6/transfer-data.html --- ## Transferring Data from the PSI Network to/from Merlin6 ### Rsync Rsync is the preferred method to transfer data from Linux/MacOS. It allows transfers to be easily resumed if they get interrupted. The general syntax is: ``` rsync -avAHXS ``` For example, to transfer files from your local computer to a merlin project directory: ``` rsync -avAHXS ~/localdata user@merlin-l-01.psi.ch:/data/project/general/myproject/ ``` You can resume interrupted transfers by simply rerunning the command. Previously transferred files will be skipped. ### WinSCP The WinSCP tool can be used for remote file transfer on Windows. It is available from the Software Kiosk on PSI machines. Add `merlin-l-01.psi.ch` as a host and connect with your PSI credentials. You can then drag-and-drop files between your local computer and merlin. ## Transferring Data to/from outside PSI Merlin6 is only accessible from within the PSI network. To connect from outside you can use - [VPN](https://www.psi.ch/en/computing/vpn) ([alternate instructions](https://intranet.psi.ch/BIO/ComputingVPN)) - [SSH hop](https://www.psi.ch/en/computing/ssh-hop) - [No Machine](nomachine.md)