Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obsidian-export_Windows-x64_64.exe: missing required free argument #78

Open
pope opened this issue Jan 23, 2022 · 3 comments
Open

obsidian-export_Windows-x64_64.exe: missing required free argument #78

pope opened this issue Jan 23, 2022 · 3 comments

Comments

@pope
Copy link

pope commented Jan 23, 2022

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)
@benbohmer
Copy link

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.

@benbohmer
Copy link

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...

@mxrch
Copy link

mxrch commented Nov 17, 2022

Same issue on Windows 11 !
I confirm spaces in the path are the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants