diff --git a/Cache-Remote-Storage.md b/Cache-Remote-Storage.md index c5a4184..d72cd82 100644 --- a/Cache-Remote-Storage.md +++ b/Cache-Remote-Storage.md @@ -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