Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.56k stars 219 forks source link

Check sub folders for existing image and ask for save location every time I add images to download #2059

Open Lywzc opened 4 years ago

Lywzc commented 4 years ago

Is your feature request related to a problem? Please describe

I'd like to group my images in a certain way using folders and sub folders. But when I add images to download it will use the folder I used last time which means if I forget to change the folder my grouping will be messed up. I will do further grouping after I download the images by creating sub folders but this will not work since the program do not check the sub folders for existing image.

Describe the solution you'd like

Check sub folders for existing image and ask for save location every time I add images to download, Maybe an option that can be toggled.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Bionus commented 4 years ago

Hello

Why do you need to change your folder every time you add a new download? I'm pretty sure there must be a way will all available tokens and features to not have to do that?

Especially the part "I will do further grouping after I download the images by creating sub folders" Did you check the docs about filenames in details? https://bionus.github.io/imgbrd-grabber/docs/filename.html

the program do not check the sub folders for existing image.

I don't understand what you mean by that. If the image already exists at the destination, it won't be saved. Grabber won't look into other places, unless you use the global MD5 list settings. Also, if you manually move images as well, make sure to check the "keep deleted images" checkbox.

Lywzc commented 4 years ago

For example, I want to update my collection of several artists, so I search for artist1, artist2, artist3 in order, and every time I need to specify my download location so they do not end up in the same location.

The reason why filename syntax will not work is because I want unicode names so shiratama will be しらたま and so on, also sometimes my folder names are not consistent, しらたま is an artist but 春日野穹 is a character.

The reason I want to check sub folders is because of pools or galleries. For example, there are several pools for an artist and others are single images, I need the pools in their own sub folders and single images in the main folder. But now if I move pools into sub folders the grabber will try to download them again next time.

Lywzc commented 4 years ago

For example: What I want: artist1 ├pool1 │ ├image1 │ └image2 ├pool2 │ ├image3 │ └image4 ├image5 └image6

My desired procedure: search for pool1, download image1 and 2 into artist1/pool1/ search for pool2, download image3 and 4 into artist1/pool2/ search for artist1, download image5 and 6 into artist1/

But now since the program did not check for sub folders the third step will not work since it will download image1-6 into artist1/

Bionus commented 4 years ago

Is there any reason you aren't using the global MD5 duplicate check list?

image

Lywzc commented 4 years ago

I tried it after your message and the result is puzzling.

I set both options to Move and the third option checked.

Search for fuxiyu, set Folder to D:\Pictures\Grabber\ and Name to fuxiyu/%id%.%ext% the program successfully download those images.

Search for fuxiyu again, set Folder to D:\Pictures\Grabber\ and Name to fuxiyu1/%id%.%ext% the program download them again and images in fuxiyu folder are also remaining.

So what does these two options do then?