# Access NAS DCSR from the cluster

The NAS is available from the login node **only** under /nas. The folder hierarchy is:

```
/nas/FAC/<your_faculty>/<your_department>/<your_PI>/<your_project>
```

#### Cluster -&gt; NAS

To copy a file to the NAS:

```
cp /path/to/file /nas/FAC/<your_faculty>/<your_department>/<your_PI>/<your_project>
```

To copy a folder to the NAS:

```
cp -r /path/to/folder /nas/FAC/<your_faculty>/<your_department>/<your_PI>/<your_project>
```

For more complex operations, consider using rsync. For the documentation see the man page:

```
man rsync
```

or check out this [link](https://linux.die.net/man/1/rsync).

#### NAS -&gt; cluster

As above, just swapping the source and destination:

```
cp /nas/FAC/<your_faculty>/<your_department>/<your_PI>/<your_project>/file /path/to/dest
```

```
cp -r /nas/FAC/<your_faculty>/<your_department>/<your_PI>/<your_project>/folder /path/to/dest
```