chore: update readme
parent
902a60563d
commit
e468d823cc
10
README.md
10
README.md
|
@ -5,7 +5,7 @@
|
|||
|
||||
Dufs is a distinctive utility file server that supports static serving, uploading, searching, accessing control, webdav...
|
||||
|
||||

|
||||

|
||||
|
||||
## Features
|
||||
|
||||
|
@ -81,13 +81,13 @@ Options:
|
|||
|
||||
## Examples
|
||||
|
||||
Serve current working directory
|
||||
Serve current working directory in readonly mode
|
||||
|
||||
```
|
||||
dufs
|
||||
```
|
||||
|
||||
Allow all operations like upload/delete/search...
|
||||
Allow all operations like upload/delete/search/create/edit...
|
||||
|
||||
```
|
||||
dufs -A
|
||||
|
@ -186,8 +186,8 @@ curl -X MOVE https://127.0.0.1:5000/path -H "Destination: https://127.0.0.1:5000
|
|||
List/search directory contents
|
||||
|
||||
```
|
||||
curl http://127.0.0.1:5000?simple # output name only, just like `ls -1`
|
||||
curl http://127.0.0.1:5000?json # output name/mtime/type/size and other information in json format
|
||||
curl http://127.0.0.1:5000?simple # output names only, just like `ls -1`
|
||||
curl http://127.0.0.1:5000?json # output paths in json format
|
||||
curl http://127.0.0.1:5000?q=Dockerfile&simple # search for files, just like `find -name Dockerfile`
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue