Shell script for bulk generating custom folder thumbnails based on a base folder icon.
For all images in /source script:
- changes all filenames to lowercase
- converts all jpeg/jpg to png
- scales images down to max 1000x1000px
- superimposes all the images over the base.png folder image
- saves the final image to /merged
Example workflow with modified Kora folder icon:
Directory structure:
root
├─ folder_thumb.sh
└─ images
├─ base.png
├─ source
├─ temp
└─ merged