Skip to content

Files

Copy files or directories between the local machine and a runtime.

Terminal window
runta cp <source> <destination>

Remote paths use <runtime_name>:<path>.

Terminal window
echo "hello from local" > local-file.txt
runta cp local-file.txt demo:/tmp/local-file.txt
runta exec demo -- sh -lc 'mkdir -p /tmp/results && echo "hello from runtime" > /tmp/results/result.txt'
runta cp demo:/tmp/results ./results