Lightjohn / CbXManager

Easily create/extract cbz or cbr files with a python script, can split and adapt to manga read order
35 stars 7 forks source link

Multiple folders? #1

Closed K4Z3R0 closed 2 years ago

K4Z3R0 commented 2 years ago

Is it possible to create cbz out of multiple folders?

Lightjohn commented 2 years ago

Not sure to understand what you mean. Seems that if you use regroupImages.py with a high limits it should do the trick?

K4Z3R0 commented 2 years ago

Not sure to understand what you mean. Seems that if you use regroupImages.py with a high limits it should do the trick?

If possible, I'd like to create a batch of cbz files by selecting multiple folders in a row. Because I have a large number of folders to convert to cbz but can only do so one at a time.

Lightjohn commented 2 years ago

In that case what prevent you from running regroupImages.py with the folders you want as input and a limit set to 100000 This will create one cbz from some folder and then run it again with others folders?

You will have to change the structure of your folder before:

BigFolder1:
  folder1
  folder2
  folder3
BigFolder2:
  folder4
  folder5
  folder6

and run manually: python regroupImages.py --limit 100000 BigFolder1 then python regroupImages.py --limit 100000 BigFolder2

This code is quite old and lack many options but with a very simple wrapper script you could process whatever you want else it will be manual but that should still work.

K4Z3R0 commented 2 years ago

That's kind of what I wanted, but I wanted it to keep the folder name and the number of files inside the folder while converting it to cbz.

Lightjohn commented 2 years ago

Yeahh the script is far too basic sadly... It was made a long time ago.