lium scp
Copy files between your machine and pods. Upload is the default; add --download to pull files back.
lium scp TARGETS SOURCE_PATH [DESTINATION_PATH] [OPTIONS]
Arguments​
TARGETS— Pod name, index, comma-separated list, orall.SOURCE_PATH— On upload, a local file. On download (-d), a remote path.DESTINATION_PATH— Optional. On upload, the remote path (default:/root/<filename>). On download, the local path.
Options​
| Flag | Effect |
|---|---|
--download, -d | Download from the pod to your local machine instead of uploading |
Examples​
lium scp my-pod ./script.py # Upload → /root/script.py
lium scp 1 ./data.csv /root/datasets/ # Upload to a specific dir
lium scp all ./config.json # Every running pod
lium scp 1,2,3 ./model.py /root/models/ # Multiple pods
lium scp 2 /root/output.log ./outputs -d # Download from pod #2
See also​
lium rsync— for repeated syncs and large directories