Skip to main content

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

FlagWhat it does
SOURCE_POD:PATHPod and path to copy from
DEST_POD:PATHPod and path to copy to
--exclude PATTERNSkip matching paths (repeatable)
--deleteRemove destination files that are not in the source
--bwlimit KIB_PER_SLimit the transfer rate
--jsonPrint the result as JSON

Example

lium cp dev-pod:/workspace/data/ train-pod:/workspace/data/