docs: tweak rc cache documentation to give an example

This commit is contained in:
Daniel Loader 2018-03-22 15:10:34 +00:00 committed by Nick Craig-Wood
parent 5ba5be9b37
commit ce91289b09

View File

@ -75,8 +75,8 @@ This sets the bandwidth limit to that passed in.
Eg Eg
rclone core/bwlimit rate=1M rclone rc core/bwlimit rate=1M
rclone core/bwlimit rate=off rclone rc core/bwlimit rate=off
### cache/expire: Purge a remote from cache ### cache/expire: Purge a remote from cache
@ -86,6 +86,11 @@ Params:
- remote = path to remote (required) - remote = path to remote (required)
- withData = true/false to delete cached data (chunks) as well (optional) - withData = true/false to delete cached data (chunks) as well (optional)
Eg
rclone rc cache/expire remote=path/to/sub/folder/
rclone rc cache/expire remote=/ withData=true
### vfs/forget: Forget files or directories in the directory cache. ### vfs/forget: Forget files or directories in the directory cache.
This forgets the paths in the directory cache causing them to be This forgets the paths in the directory cache causing them to be