File transfer to/from Arrhenius using rsync¶
Prefer a video?
Watch
the 'File transfer to/from Arrhenius using FileZilla' video
to see how files are transferred to/from Arrhenius using rsync
There are multiple ways to transfer data to/from Arrhenius.
Here, we show how to transfer files and folders using a command-line tool
called rsync,
which is a secure file transfer tool
that works under Linux, Mac and Windows.
- Copy a file from your local computer to Arrhenius
- Copy a file from Arrhenius to your local computer
- Copy a folder from your local computer to Arrhenius
- Copy a folder from Arrhenius to your local computer
Copy a file from local to Arrhenius¶
flowchart LR
local_computer[Your local computer. Run rsync from here]
arrhenius[Arrhenius]
local_computer --> |rsync| arrhenius
Copy a file from a local computer to a Arrhenius home folder.
On your local computer, do:
For example:
Copy a file from Arrhenius to local¶
flowchart LR
local_computer[Your local computer. Run rsync from here]
arrhenius[Arrhenius]
arrhenius --> |rsync| local_computer
Copy a file from Arrhenius to your local computer.
On your local computer, do:
rsync [user_name]@login.hpc.arrhenius.naiss.se:/home/[user_name]/[file_name] [local_folder_destination]
For example:
Where . means 'the folder where I am now'.
Copy a folder from local to Arrhenius¶
flowchart LR
local_computer[Your local computer. Run rsync from here]
arrhenius[Arrhenius]
local_computer --> |rsync| arrhenius
Copy a folder from a local computer to a Arrhenius home folder.
On your local computer, do:
For example:
The --recursive flag is used to
copy a folder and all of its subfolders.
Copy a folder from Arrhenius to local¶
flowchart LR
local_computer[Your local computer. Run rsync from here]
arrhenius[Arrhenius]
arrhenius --> |rsync| local_computer
Copy a folder from Arrhenius to your local computer.
On your local computer, do:
rsync --recursive [user_name]@login.hpc.arrhenius.naiss.se:/home/[user_name]/[folder_name] [local_folder_destination]
For example:
Where . means 'the folder where I am now'.
Source repository