Steps to reproduce:
- create notebook with a "|" character in it in Databricks via the website, for example: "/Shared/sub-folder/sample|notebook"
- run the following command locally:
databricks workspace export_dir /Shared/ c:/temp/
- Error occurs:
ERROR: OSError: [Errno 22] Invalid argument: 'c:/temp\sub-folder\sample|notebook.sql'