myriarch-updater copy
Copy a regular file atomically (for init containers without a shell).
myriarch-updater copy
Copy a regular file atomically (for init containers without a shell)
Synopsis
Copies the regular file <src> to <dst>. Both paths must be absolute. <dst> may be an existing directory, then the file keeps its name. The write is atomic (a temporary file next to <dst>, then a rename) and the execute bit of <src> is kept (mode 0755 with it, 0644 without). A directory, a device or a symlink as destination and a source that is not a regular file are refused; <src> itself may be a symlink to a regular file. Missing directories are not created. It makes no network access.
myriarch-updater copy <src> <dst> [flags]
Options
-h, --help help for copy
SEE ALSO
- myriarch-updater - Myriarch host agent: installs collector updates offered via OpAMP