Notebook: hide non-notebook files

Created on 26 May 2017  路  3Comments  路  Source: jupyter/notebook

What is the recommended way to only display *.ipynb files?

Our notebooks tend to generate a large numbers of output files, so it would be helpful to only show the notebook files themselves in the web view.

Most helpful comment

I would like to "bump" this as I'm running into the same issue. My notebooks generate output files and create directory structures, and it is desirable to have these adjacent to the notebooks in the filesystem. I was very surprised to find there is no option to filter out non-notebook files in the Jupyter notebook server instance's tree. At the very least, it would be nice if notebook files were listed first, before other files or directories.

All 3 comments

I'd suggest to put the ipynb files and the output files into different directories.

There's a config option to tell Jupyter where to save the ipynb files:
https://stackoverflow.com/a/35078945/5629418
Although the description makes me wonder whether that will also affect the working directory of the kernels:
http://jupyter-notebook.readthedocs.io/en/latest/config.html

@rolweber if you are referring to the configuration option notebook_dir, it seems to just set the top level directory as seen from the web interface.

I'm looking for a way to filter out all files not ending with .ipynb from the web view.

I would like to "bump" this as I'm running into the same issue. My notebooks generate output files and create directory structures, and it is desirable to have these adjacent to the notebooks in the filesystem. I was very surprised to find there is no option to filter out non-notebook files in the Jupyter notebook server instance's tree. At the very least, it would be nice if notebook files were listed first, before other files or directories.

Was this page helpful?
0 / 5 - 0 ratings