Download all files in a path on Jupyter notebook server

前端 未结 7 673
日久生厌
日久生厌 2021-01-29 18:46

As a user in a class that runs Jupyter notebooks for assignments, I have access to the assignments via the web interface. I assume the assignments are stored somewhere in my per

7条回答
  •  遥遥无期
    2021-01-29 18:56

    Try running this as separate cell in one of your notebooks:

    !tar chvfz notebook.tar.gz *
    

    If you want to cover more folders up the tree, write ../ before the * for every step up the directory. The file notebook.tar.gz will be saved in the same folder as your notebook.

提交回复
热议问题