sic icon indicating copy to clipboard operation
sic copied to clipboard

BUG: Partial conversion with the Glob method

Open felix9743 opened this issue 1 year ago • 3 comments

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

felix9743 avatar Sep 15 '23 17:09 felix9743

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

foresterre avatar Sep 16 '23 15:09 foresterre

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

foresterre avatar Sep 18 '23 22:09 foresterre

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

felix9743 avatar Sep 20 '23 11:09 felix9743