From 14efeb636077dee838984ca14c9993aa3c29fc86 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 2 Aug 2022 07:07:53 +0800 Subject: [PATCH] chore: update readme --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 27afb20..78969ae 100644 --- a/README.md +++ b/README.md @@ -160,9 +160,9 @@ curl -X DELETE http://127.0.0.1:5000/path-to-file-or-folder ```
-Advance topics +

Advance topics

-## Access Control +### Access Control Dufs supports path level access control. You can control who can do what on which path with `--auth`/`-a`. @@ -186,11 +186,9 @@ dufs -a /@admin:pass1@* -a /ui@designer:pass2 -A - Account `designer:pass2` can upload/delete/view/download any files/folders in the `ui` folder. -## Hidden +### Hide -Dufs supports hide directories/files via option `--hidden`. - -List the directories to be hidden for directory listings +Dufs supports hiding directories/files via option `--hidden`. ``` dufs --hidden .git,.DS_Store @@ -208,7 +206,7 @@ Hide all hidden directories/files dufs --hidden '.*' ``` -## Log format +### Log Format Dufs supports customize http log format via option `--log-format`.