Copy your data
Copy anything in your teamspace Drive, such as a Studio's files, your uploads, or what your jobs wrote, to your own machine from the terminal.
Before you begin
- Python 3 and
pipon the machine you are copying to. - The names of your organization and teamspace.
Copy your data
Install or update the Lightning CLI:
pip install -U lightning-sdkSign in. A browser window opens on the Lightning AI login page; sign in there, then return to the terminal.
lightning loginCopy a folder to your machine:
lightning cp -r lit://<org>/<teamspace>/studios/<studio-name> ./destReplace
<org>and<teamspace>with your organization and teamspace names, and<studio-name>with the Studio to copy. To copy a single file, leave out-r. To see what's in your teamspace first, runlightning ls lit://<org>/<teamspace>/.
Was this page helpful?
Thanks for the feedback.