Skip to content

Commit c8535d3

Browse files
committed
Updated README.md
1 parent 48d2266 commit c8535d3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,21 @@ running the command. Use '-' to write the data as a tar file to STDOUT.
147147
Options:
148148

149149
-h, --help=false Print usage
150+
151+
Examples:
152+
153+
$ scw cp path/to/my/local/file myserver:path
154+
$ scw cp myserver:path/to/file path/to/my/local/dir
155+
$ scw cp myserver:path/to/file myserver2:path/to/dir
156+
$ scw cp myserver:path/to/file - > myserver-pathtofile-backup.tar
157+
$ scw cp myserver:path/to/file - | tar -tvf -
158+
$ scw cp path/to/my/local/dir myserver:path
159+
$ scw cp myserver:path/to/dir path/to/my/local/dir
160+
$ scw cp myserver:path/to/dir myserver2:path/to/dir
161+
$ scw cp myserver:path/to/dir - > myserver-pathtodir-backup.tar
162+
$ scw cp myserver:path/to/dir - | tar -tvf -
163+
$ cat archive.tar | scw cp - myserver:/path
164+
$ tar -cvf - . | scw cp - myserver:path
150165
```
151166

152167

@@ -925,6 +940,7 @@ Development in progress
925940

926941
#### Features
927942

943+
* Support of `scw cp` from {server-path,local-path,stdin} to {server-path,local-path,stdout} ([#56](https://github.com/scaleway/scaleway-cli/issues/56))
928944
* Support of `_patch` experimental command ([#57](https://github.com/scaleway/scaleway-cli/issues/57))
929945
* Support of `_completion` command (shell completion helper) ([#45](https://github.com/scaleway/scaleway-cli/issues/45))
930946
* Returning more resource fields on `scw inspect` ([#50](https://github.com/scaleway/scaleway-cli/issues/50))

0 commit comments

Comments
 (0)