Skip to content

Commit

Permalink
initial commit klone_File-Transfers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kubu4 committed Sep 19, 2024
1 parent 71a0230 commit d72ca6b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/klone_File-Transfers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## `rsync`
### Transferring data to/from Klone (Hyak) with `rsync`

`rsync` is a file transfer program and is the recommended file transfer program for Roberts Lab member. It copies specified files/folders from one location to another. Importantly, it verifies data integrity after the files have been transferred. This feature is critical, due to the large file sizes we frequently work with.

#### Copy files to Klone:

```bash
rsync --archive --progress --verbose /path/to/file/on/your/computer/file.txt <UW_NetID>@klone.hyak.uw.edu:/gscratch/scrubbed/<UW_NetID>/directory
```

#### Copy entire folder to Klone (it is important to make sure there is _no_ `/` at the end of the remote path):

Navigate to the directory immediately above the one which you are interested in copying and then run the following command):

```bash
rsync --archive --progress --verbose --relative ./directory <UW_NetID>@klone.hyak.uw.edu:/gscratch/scrubbed/<UW_NetID>/directory
```


#### Copy files from Klone:

```bash
rsync --archive --progress --verbose <UW_NetID>@klone.hyak.uw.edu:/gscratch/scrubbed/<UW_NetID>/file.txt /path/to/local/directory
```

0 comments on commit d72ca6b

Please sign in to comment.