lium rsync
Synchronize directories to pods.
lium rsync POD LOCAL_DIR [REMOTE_PATH] [OPTIONS]
Arguments​
POD— Pod name, index, list, orall.LOCAL_DIR— Local directory to sync.REMOTE_PATH— Destination path on the pod.
Options​
| Flag | Effect |
|---|---|
--delete | Delete files on the pod that don't exist locally |
--exclude PATTERN | Exclude files matching pattern |
--dry-run | Show what would be synced without changing anything |
Examples​
lium rsync my-pod ./project # Sync project
lium rsync 1 ./data /root/datasets/ # Specific path
lium rsync all ./configs --delete # Mirror exactly
lium rsync my-pod ./code --exclude "*.pyc" # Exclude files
lium rsync my-pod ./project --dry-run # Preview
See also​
lium scp— single-shot copy