# nodus volume put

> Add a local file or directory to a Volume as a new revision

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_volume_put/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus volume put

Add a local file or directory to a Volume as a new revision

### Synopsis

Adds LOCAL at REMOTE (default /) on top of the latest revision; everything else in the Volume stays. A directory’s contents merge into REMOTE; a file lands at REMOTE, or inside it when REMOTE is a directory or ends in /. –extract expands a .zip, .tar, .tar.gz, .tgz or .tar.zst archive into REMOTE instead.

```plaintext
nodus volume put NAME LOCAL [REMOTE] [flags]
```

### Examples

```plaintext
  nodus volume put data ./dataset /train
  nodus volume put data ./config.yaml /etc/
  nodus volume put data ./archive.tar.gz /raw --extract
```

### Options

```plaintext
      --extract   Expand the LOCAL archive into REMOTE
  -h, --help      help for put
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -p, --project string   Project to work in
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus volume](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_volume/) - Put, get, list and remove the files of a Volume
