-
Notifications
You must be signed in to change notification settings - Fork 23
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
Specifying a Different Path for the Input Files #4
Comments
Hi @r0bc94 , I didn't write this script with supporting Windows in mind at all but it's nice to hear that it also works in Windows as long as the script and target file are in the same directory. This means making this cross-platform is only a matter of handling Windows paths. That's probably why you are running into this issue because Windows paths are separated by \ . I am not sure if I can justify my time right now to work on this as things are a bit busy at work lately but I will leave the issue open and see if anyone is willing to contribute and submit a PR that will support both *nix and Windows at the same time. Or.... given time, I will slide this in next time I can find some free time post work hiatus. Thanks |
Btw, I just took a quick look at the code since it's been a while and it looks like it might be a much simpler problem than I thought. Try removing illegal characters checking from the script. This is line 58 - 66. After that, it should stop complaining about illegal characters but of course it also won't check for all the other illegal characters either. Again, once I find some free time, I will try to do a more official/cleaner update to see if we can fix that problem. |
Thanks for your response.
since it actually also lists the *nix directory delimiter
I will try this and see, if this works. Currently on windows when specifying the input and output files without a backslash inside the source and destination filenames, the output looks like so:
It basically complains, that the output path of the file Edit: I glaced at the source code and was wondering, why you are not using the |
Thanks for your PR but I am wondering if there's an even simpler fix for it. Can you check if the latest release (v1.3) works for Windows? Thanks! |
Hello,
when using the script on windows (I didn't try it on Linux) when specifying an input file which is not in the same directory as the script itself, the script complains about illegal characters such as the directory delimiters
\
and/
.Is there any possibility to specify an input file, which is stored in another directory?
Thanks.
The text was updated successfully, but these errors were encountered: