mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
#2690 filer_web: support moving entry
parent
58a1493642
commit
6afd16f18c
|
@ -197,6 +197,12 @@ curl -X DELETE http://localhost:8888/path/to/a/file?tagging=Name1,Some
|
|||
|
||||
Notice that the tag names follow http header key convention, with the first character capitalized.
|
||||
|
||||
### Move files and directories
|
||||
```bash
|
||||
# move(rename) "/path/2/src_file" to "/path/to/dst_file"
|
||||
> curl -X POST 'http://localhost:8888/path/to/dst_file?from=/path/2/src_file&pretty=yes'
|
||||
```
|
||||
|
||||
### Create an empty folder
|
||||
Folders usually are created automatically when uploading a file. To create an empty file, you can use this:
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue