33 lines
1.1 KiB
Groff
33 lines
1.1 KiB
Groff
.\" Automatically generated by Pandoc 2.13
|
|
.\"
|
|
.TH "DFCACHE" "1" "" "Version v2.0.9" "Frivolous \[lq]Dfstore\[rq] Documentation"
|
|
.hy
|
|
.SH NAME
|
|
.PP
|
|
\f[B]dfstore cp\f[R] \[em] copies a local file or dragonfly object to
|
|
another location locally or in dragonfly object storage
|
|
.SH SYNOPSIS
|
|
.PP
|
|
Copies a local file or dragonfly object to another location locally or
|
|
in dragonfly object storage.
|
|
.IP
|
|
.nf
|
|
\f[C]
|
|
dfstore cp <source> <target> [flags]
|
|
\f[R]
|
|
.fi
|
|
.SS OPTIONS
|
|
.IP
|
|
.nf
|
|
\f[C]
|
|
--filter string filter is used to generate a unique task id by filtering unnecessary query params in the URL, it is separated by & character
|
|
-h, --help help for cp
|
|
--max-replicas int maxReplicas is the maximum number of replicas of an object cache in seed peers (default 3)
|
|
-m, --mode int mode is the mode in which the backend is written, when the value is 0, it represents AsyncWriteBack, and when the value is 1, it represents WriteBack
|
|
-e, --endpoint string endpoint of object storage service (default \[dq]http://127.0.0.1:65004\[dq])
|
|
\f[R]
|
|
.fi
|
|
.SH SEE ALSO
|
|
.IP \[bu] 2
|
|
dfstore - object storage client of dragonfly
|