-
Notifications
You must be signed in to change notification settings - Fork 32
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
File masks don't work on Windows #53
Comments
Type |
The same error from PowerShell. By the way, if I try non-existing file name, the error is slighly different: |
This might be because of the 4-character epub extension on Windows (meaning that wildcards don't work as expected) . As a workaround, you could convert the current dir ( Edit: it is. |
Yes, using directory instead of mask works, thanks! So this is not an issue for me anymore :) |
Yes, that works on everything but Windows. You are correct that the error comes from there, but it's a red herring. The issue is because cmd doesn't expand it correctly (the wildcard processing is done by the shell). Does |
No, cmd and PowerShell always pass wildcards as-is :( |
That's interesting. I wasn't aware of that before (I don't use Windows much right now). I might add wildcard handling directly if it's running on Windows. |
Given command from the examples:
> kepubify -o "converted" *.epub
Error: scan input "*.epub": CreateFile *.epub: The filename, directory name, or volume label syntax is incorrect.
The text was updated successfully, but these errors were encountered: