update document and remove debug code.
This commit is contained in:
25
README.md
25
README.md
@ -15,7 +15,7 @@ $ mdrs config create neurodata https://neurodata.riken.jp/api
|
||||
```
|
||||
|
||||
### login
|
||||
login to remote host
|
||||
Login to remote host
|
||||
```
|
||||
$ mdrs login neurodata:
|
||||
Username: (enter your login name)
|
||||
@ -52,12 +52,6 @@ Create a new folder
|
||||
$ mdrs mkdir neurodata:/NIU/Repository/TEST
|
||||
```
|
||||
|
||||
### rmdir
|
||||
Remove a existing folder
|
||||
```
|
||||
$ mdrs rmdir neurodata:/NIU/Repository/TEST
|
||||
```
|
||||
|
||||
### metadata
|
||||
Get a folder metadata
|
||||
```
|
||||
@ -65,28 +59,31 @@ $ mdrs metadata neurodata:/NIU/Repository/TEST
|
||||
```
|
||||
|
||||
### upload
|
||||
Upload the file or directories
|
||||
Upload the file or directory
|
||||
```
|
||||
$ mdrs upload ./sample.dat neurodata:/NIU/Repository/TEST/
|
||||
$ mdrs upload -r ./dataset neurodata:/NIU/Repository/TEST/
|
||||
```
|
||||
|
||||
### download
|
||||
Download a file
|
||||
Download the file or folder
|
||||
```
|
||||
$ mdrs download neurodata:/NIU/Repository/TEST/sample.dat ./
|
||||
$ mdrs download -r neurodata:/NIU/Repository/TEST/dataset ./
|
||||
```
|
||||
|
||||
### move
|
||||
Move a file
|
||||
### mv
|
||||
Move or rename the file or folder
|
||||
```
|
||||
$ mdrs move neurodata:/NIU/Repository/TEST/sample.dat neurodata:/NIU/Repository/TEST2/sample2.dat
|
||||
$ mdrs move neurodata:/NIU/Repository/TEST/dataset neurodata:/NIU/Repository/TEST2/
|
||||
```
|
||||
|
||||
### remove
|
||||
Remove a file
|
||||
### rm
|
||||
Remove the file or folder
|
||||
```
|
||||
$ mdrs remove neurodata:/NIU/Repository/TEST2/sample2.dat
|
||||
$ mdrs rm neurodata:/NIU/Repository/TEST2/sample2.dat
|
||||
$ mdrs rm -r neurodata:/NIU/Repository/TEST2/dataset
|
||||
```
|
||||
|
||||
### file-metadata
|
||||
|
Reference in New Issue
Block a user