This extension allows you to use file globbing in Jupyter.
You issue a URL like /api/globbing/some/path/*.ipynb
and it returns a list of all the files that match the glob pattern
pip install jupyter-server-globbing
// from the browser console
response = await fetch("/api/globbing/some/path/*.ipynb")
files = await response.json()
the result is a list of objects with the following structure:
{
"path": "some/path/file1.ipynb", // relative to the server root
"type": "file" // or "directory"
}