Download a Folder from a Pod
Method 1. - Install Jupyter Archive
Note: we've temporarily removed this package from our templates due to bugs associated with it; some users report that this package interferes with the ability to right-click and download single files. Use at your own discretion!
- In JupyterLab, if your Pod comes with a Python virtual environment (
venv
) in/workspace
, activate it with. /workspace/venv/bin/activate
. This way, even if you reset your Pod, you'll still keep the download as archive tool.
- Run
pip install jupyter-archive
.
- Restart your Pod.
- You should now be able to right-click folders to download them as archives!
Method 2. - Manually Zip and Download
- Run
apt install zip --yes
.
- Run
zip -r archiveName.zip /path/to/folder/to/zip
, replacingarchiveName.zip
with the name you'd like to give your zip file and/path/to/folder/to/zip
with, well, the path to the folder to zip.
- You can now right click your zip file to download your folder!
Updated 3 months ago