Search code examples
google-cloud-platformgcp-ai-platform-notebook

Download Compressed Folder from Jupyter Notebook in GCloud Deep Learning VM


This seems to be a very simple question, but I couldn't find a way to do it. The jyputer notebook has the option to download file one by one. But my training process generates too many files, and I want to download them all at once. Is there any way to do it?


Solution

  • Assuming it is JupyterLab what you are using:

    1. Open a new Launcher (+ icon) and start a new terminal session.
    2. Use zip -r FILE_NAME.zip PATH/TO/OUTPUT/FOLDER/ to compress the required folder.
    3. Download the zip file as you were doing with the other ones.