Search code examples
jupyter-notebookgoogle-cloud-datalab

How can I check hidden files in the notebook file list?


When using gsutil as a magic command, hidden files are not copied by default. So I often use hidden files. But I can not see them on the notebook list.

Of course, if you check with !ls, the file actually exists. How do I view hidden files in the notebook file list?

thanks.


Solution

  • This is the default behavior of Jupyter, on which Datalab is based, and it doesn't offer a configuration to change that unfortunately.

    As a workaround, can you use find and -exec to copy only files matching a pattern?