lium cp
Copy files from one pod to another over SSH. The data does not pass through your machine. Both pods need rsync.
Usage
lium cp SOURCE_POD:PATH DEST_POD:PATH [OPTIONS]
Flags
| Flag | What it does |
|---|---|
SOURCE_POD:PATH | Pod and path to copy from |
DEST_POD:PATH | Pod and path to copy to |
--exclude PATTERN | Skip matching paths (repeatable) |
--delete | Remove destination files that are not in the source |
--bwlimit KIB_PER_S | Limit the transfer rate |
--json | Print the result as JSON |
Example
lium cp dev-pod:/workspace/data/ train-pod:/workspace/data/