Updated Gateway to Remote Object Storage (markdown)

Chris Lu 2021-09-05 14:49:09 -07:00
parent e8a63f0429
commit c8da111eab

@ -56,9 +56,12 @@ You may need to create a cronjob to run it periodically.
``` ```
# in "weed shell" # in "weed shell"
# cache all pdf files in all mounted buckets
> remote.cache -include=*.pdf
# cache all pdf files in a bucket # cache all pdf files in a bucket
> remote.cache -dir=/buckets/some-bucket -include=*.pdf > remote.cache -dir=/buckets/some-bucket -include=*.pdf
# uncache files in a bucket that is older than 1 hour and larger than 10KB # uncache all files older than 1 hour and larger than 10KB
> remote.uncache -dir=/buckets/some-b353 -minAge=3600 -minSize=10240 > remote.uncache -minAge=3600 -minSize=10240
``` ```