Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I zip a folder in JupyterLab?

I have a folder named myfolder (with multiple files) in JupyterLab. I can download files but not folders as JupyterLab does not allow it. I, therefore, want to zip the folder then download it to my desktop.

Question: how do I zip myfolder?

This one didn't work: Downloads folder from JupyterLab

like image 513
williamscathy825 Avatar asked Oct 12 '25 04:10

williamscathy825


1 Answers

Did you try tar instead of zip as well?

Check the discussion in github

on my notebook zip is not working but tar is. so

%%bash

tar -czf archive.tar.gz foldername

like image 160
Serc Avatar answered Oct 14 '25 16:10

Serc