This question already has an answer here:
I want to resize multiple images that are stored in multiple sub folders in a directory. And I want to replace those images with resized ones by deleting the original ones
I’ve folder icons for a lot of content in a separate partition. Some of these images are around a megabyte and are 500x500 which is in my opinion overkill for folder icons on 1080p display and I think it’s also reducing performance of nautilus and taking up some valuable space
How is the folder structure?
├── [4.0K] Zombieland (2009) H │ ├── [664K] .folder.png │ └── [606M] Zombieland (2009) H.mkv └── [4.0K] Zootopia (2016) ├── [203K] .folder.png ├── [2.7G] Zootopia (2016).mkv └── [119K] Zootopia (2016).srt
I want those
.folder.png ‘s resized to 160x160. Answer should work on Deep directories.
- Images are generally
- Images can be stored in really deep directories
- all the images have 1:1 aspect ratio
- all the images are named
- There is an answer here but I think it only works on one image
I'll be glad to provide more information