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