mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust help message
This commit is contained in:
parent
69442d220b
commit
2158d4fe4d
|
@ -32,11 +32,14 @@ func (c *commandRemoteCache) Help() string {
|
|||
remote.cache -dir=/xxx
|
||||
remote.cache -dir=/xxx/some/sub/dir
|
||||
remote.cache -dir=/xxx/some/sub/dir -include=*.pdf
|
||||
remote.cache -dir=/xxx/some/sub/dir -exclude=*.txt
|
||||
remote.cache -maxSize=1024000 # cache files smaller than 100K
|
||||
remote.cache -maxAge=3600 # cache files less than 1 hour old
|
||||
|
||||
This is designed to run regularly. So you can add it to some cronjob.
|
||||
If a file is already synchronized with the remote copy, the file will be skipped to avoid unnecessary copy.
|
||||
|
||||
The actual data copying goes through volume severs.
|
||||
The actual data copying goes through volume severs in parallel.
|
||||
|
||||
`
|
||||
}
|
||||
|
|
|
@ -33,6 +33,8 @@ func (c *commandRemoteUncache) Help() string {
|
|||
remote.uncache -dir=/xxx/some/sub/dir
|
||||
remote.uncache -dir=/xxx/some/sub/dir -include=*.pdf
|
||||
remote.uncache -dir=/xxx/some/sub/dir -exclude=*.txt
|
||||
remote.uncache -minSize=1024000 # uncache files larger than 100K
|
||||
remote.uncache -minAge=3600 # uncache files older than 1 hour
|
||||
|
||||
`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue