diff --git a/Filer-Server-API.md b/Filer-Server-API.md index b585f8f..6e58975 100644 --- a/Filer-Server-API.md +++ b/Filer-Server-API.md @@ -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: ```