File transfer to/from Alvis using rsync¶
Why is this page at UPPMAX?
It is the intention that this guide is moved to the C3SE documentation. However, it has not been suggested to be added to their documentaton yet.
HPC clusters have different ways to do file transfer using rsync.
This page shows how to do so for Alvis.
Procedure¶
Would you like a video?
See the YouTube video file transfer from/to Alvis using rsync.
rsync is a secure file transfer tool that works under Linux, Mac and Windows.
To transfer files to/from Alvis using rsync, do
the following steps:
1. Get inside SUNET¶
Forgot how to get within SUNET?
2. Start a terminal on your local computer¶
Start a terminal on your local computer
3. Transfer files to Alvis¶
You can transfer files to Alvis by:
3a. Transfer individual files to Alvis¶
On local computer, do:
where
[my_local_file]is the path to your local file[target_folder]is the path of the folder you want to copy your file to[username]is your C3SE username
for example:
If asked, give your C3SE password.
3b. Transfer all files in a folder to Alvis¶
On local computer, do:
where
[target_folder]is the target folder[username]is your C3SE username
for example:
If asked, give your C3SE password.
Note that in rsync, a slash (/) matters:
| Command | Effect |
|---|---|
rsync --recursive my_folder svens@alvis1.c3se.chalmers.se:/cephyr/users/svens/Alvis |
Will put the files in my_folder in the Alvis home folder |
rsync --recursive my_folder svens@alvis1.c3se.chalmers.se:/cephyr/users/svens/Alvis/ |
Will put the folder my_folder in the Alvis home folder |
4. Transfer files from Alvis to you local computer¶
You can transfer files from Alvis to your local computer by:
- 4a. Transfer individual files from Alvis to your local computer
- 4b. Transfer all folders from Alvis to you local computer
4a. Transfer individual files from Alvis to your local computer¶
On your local computer, do:
where
[path_to_file]is the path to the file you want to download[username]is your C3SE username.means 'in the current folder of my local computer' or 'here'
for example:
If asked, give your C3SE password.
4b. Transfer all folders from Alvis to you local computer¶
On your local computer, do:
where
[source_folder]is the path to the folder you want to download[username]is your C3SE username.means 'in the current folder of my local computer' or 'here'
for example:
If asked, give your C3SE password.