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

BUG: Partial conversion with the Glob method #1656

Open
felix9743 opened this issue Sep 15, 2023 · 3 comments
Open

BUG: Partial conversion with the Glob method #1656

felix9743 opened this issue Sep 15, 2023 · 3 comments
Labels
C-bug Category: bug

Comments

@felix9743
Copy link

If there is a . in the file name, then the conversion stops before it's finished and the filename is separated keeping only what it finds before the `.′ of the new file.

image

What's most troubling is that if there are several . in the file name, it's going to keep everything that's before the last '.`.

image

@foresterre
Copy link
Owner

Oh welp! Thanks for the reports; I'll have a look!

@foresterre foresterre added the C-bug Category: bug label Sep 16, 2023
@foresterre
Copy link
Owner

foresterre commented Sep 18, 2023

I've tried reproducing this issue, but wasn't able to. What input commands did you use?

I did:

$ ls glob_example

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          2023-09-19    00:01             73 A.B.C.D-000.png
-a---          2023-09-19    00:02             14 A.B.C.D-001.ppm
$ sic --glob-input C:\glob_example\* --glob-output .\glob_output\
$ ls glob_output

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          2023-09-19    00:03             73 A.B.C.D-000.png
-a---          2023-09-19    00:03             14 A.B.C.D-001.ppm

@felix9743
Copy link
Author

On Windows 10:
bin\sic --glob-input "C:\PDF_Extractor\OUTPUT\M.noWorking\*.ppm" --glob-output "OUTPUT\M.noWorking" --output-format png

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

No branches or pull requests

2 participants