Updated Cache Remote Storage (markdown)

Chris Lu 2021-09-05 14:52:32 -07:00
parent c8da111eab
commit 9e8b21a852

@ -17,6 +17,7 @@ In `weed shell`, checkout `remote.cache` and `remote.uncache`:
remote.mount -dir=xxx -remote=s3_1/bucket
# after mount, run one of these command to cache the content of the files
remote.cache # cache on all mounted directories
remote.cache -dir=/xxx
remote.cache -dir=/xxx/some/sub/dir
remote.cache -dir=/xxx/some/sub/dir -include=*.pdf
@ -35,6 +36,7 @@ In `weed shell`, checkout `remote.cache` and `remote.uncache`:
This is designed to run regularly. So you can add it to some cronjob.
If a file is not synchronized with the remote copy, the file will be skipped to avoid loss of data.
remote.uncache # uncache on all mounted directories
remote.uncache -dir=/xxx
remote.uncache -dir=/xxx/some/sub/dir
remote.uncache -dir=/xxx/some/sub/dir -include=*.pdf