Skip to content
Snippets Groups Projects
Commit 1a295959 authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Added examples for scp commands in export_nodes.md.

parent dc0e9c8c
No related branches found
No related tags found
2 merge requests!416Automated merge from preview to main,!414Resolve "mention storage place on https://doc.zih.tu-dresden.de/data_transfer/overview/"
......@@ -33,15 +33,29 @@ in a directory, the option `-r` has to be specified.
marie@local$ scp -r <directory> taurusexport:<target-location>
```
??? example "Example: Copy a file from ZIH systems to your workstation"
For example, if you want to copy your data file `mydata.csv` to the directory `input` in your
home directory, you would use the following:
```console
marie@local$ scp mydata.csv taurusexport:input/
```
??? example "Example: Copy a file from ZIH systems to your workstation"
```bash
marie@local$ scp taurusexport:<file> <target-location>
# Add -r to copy whole directory
marie@local$ scp -r taurusexport:<directory> <target-location>
```
For example, if you have a directory named `output` in your home directory on ZIH systems and
you want to copy it to the directory `/tmp` on your workstation, you would use the following:
```console
marie@local$ scp -r taurusexport:output/ /tmp
```
### SFTP
The tool [`sftp`](https://man7.org/linux/man-pages/man1/sftp.1.html) (OpenSSH secure file transfer)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment