从JupyterLab下载文件夹 [英] Downloads folder from JupyterLab
问题描述
我想从Jupyterlab(在Google云端实例上运行)下载一个腌制文件的文件夹,但找不到解决方法.显然,允许下载单个文件,但是我的文件夹中有大约500个腌制文件可以下载,因此需要一段时间才能手动完成.
I'd like to download a folder of pickle files from Jupyterlab (running on a google cloud instance) and I'm unable to find a way to do so. Apparently, downloading individual files is permitted but I have about 500 individuals pickle files in my folder to download and so would take while to do that manually.
正如您在下面的菜单中看到的那样(当右键单击我要下载的文件夹时),我设法安装了将文件夹下载为存档"扩展名,但是由于某些原因,最终的zip格式在本地不可读. 我敢肯定,必须有一种从Jupyterlab轻松下载文件夹的方法,我们将不胜感激任何帮助. 谢谢
As you can see in the menu below (when right click on the folder I want to download) I manage to install a "download folder as archive" extension but for some reasons the resulting zip format is unreadable locally. I'm sure there must be a way of downloading folder easily from Jupyterlab and any help would be highly appreciated. Thank you
推荐答案
我终于找到了解决方案,方法是使用以下命令将文件夹压缩:
I finally find a solution by zipping the folder using the following command:
zip -r example.zip original_folder
它奏效了.
这篇关于从JupyterLab下载文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!