obsidian-export_Windows-x64_64.exe: missing required free argument
I get this error when I use v22.1.0 of the windows binary.
Usage:
C:\Users\pope\Downloads\obsidian-export_Windows-x64_64.exe 'C:\Users\pope\Code\Fighting Games\' C:\Users\pope\Code\out
I can run the program with the help flags and that does work.
PS C:\Users\pope\Downloads\obsidian-export_Windows-x64_64.exe --help
Usage: C:\Users\pope\Downloads\obsidian-export_Windows-x64_64.exe [OPTIONS]
Positional arguments:
source Read notes from this source
destination Write notes to this destination
Optional arguments:
-h, --help Display program help
-v, --version Display version information
--start-at START-AT Only export notes under this sub-path
--frontmatter FRONTMATTER-STRATEGY
Frontmatter strategy (one of: always, never, auto) (default: auto)
--ignore-file IGNORE-FILE Read ignore patterns from files with this name (default: .export-ignore)
--hidden Export hidden files (default: false)
--no-git Disable git integration (default: false)
--no-recursive-embeds Don't process embeds recursively (default: false)
--hard-linebreaks Convert soft line breaks to hard line breaks. This mimics Obsidian's 'Strict line breaks' setting (default: false)
I have the same issue, and I am pretty sure it's because of the spaces in the path. Obsidian-export handles it fine on my Mac, but not in Windows.
Looking for solution. Using the grave accent ` as an escape character in front of each space does not seem to work as intended.
I got it working by executing obsidian-export in the parent dir of where my .md files are, and having a target path with NO spaces in it. But that's no way to live...
Same issue on Windows 11 ! I confirm spaces in the path are the problem.