Describe the issue
When I run export-dir on my user folder, it fails if there's an empty "New Notebook" file. The error says can't open $path\folder\New Notebook 2026-05-04 13:54:24.py"
I thought this may be an issue with the Windows paths, but... Its not a problem with New Query, which appears to be skipped.
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
- Navigate to user folder
- Create a new notebook
- Clone the newly opened file
- Open up terminal
- Use databricks workspace export-dir command with source Path being Path where your newly created notebook is
- You should get an error along the lines "Error: open $path\folder\New Notebook 2026-05-04 13:54:24.py: the filename, directory name, or volume label syntax is incorrect".
Expected Behavior
I'd expect either file would be skipped but warn would show.
Alternatively: The path adjusted if that's a strictly Windows issue (but then replaced again to fit if imported)
Actual Behavior
I'd expect either file would be skipped but warn would show.
Alternatively: The path adjusted if that's a strictly Windows issue (but then replaced again to fit if imported)
OS and CLI version
CLI version: v0.295.0
OS: Windows
Is this a regression?
No? But I havent tested with other versions.
Describe the issue
When I run export-dir on my user folder, it fails if there's an empty "New Notebook" file. The error says can't open $path\folder\New Notebook 2026-05-04 13:54:24.py"
I thought this may be an issue with the Windows paths, but... Its not a problem with New Query, which appears to be skipped.
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
Expected Behavior
I'd expect either file would be skipped but warn would show.
Alternatively: The path adjusted if that's a strictly Windows issue (but then replaced again to fit if imported)
Actual Behavior
I'd expect either file would be skipped but warn would show.
Alternatively: The path adjusted if that's a strictly Windows issue (but then replaced again to fit if imported)
OS and CLI version
CLI version: v0.295.0
OS: Windows
Is this a regression?
No? But I havent tested with other versions.