I have over 100,000 images in a complicated folder structure similar to the one below:
├── folder1
│ ├── 0001.jpeg
│ └── 0002.jpeg
├── folder2
│ ├── 0001.jpeg
│ └── 0002.jpeg
├── folder3
│ └── folder4
│ ├── 0001.jpeg
│ └── 0002.jpeg
└── folder5
└── folder6
└── folder7
├── 0001.jpeg
└── 0002.jpeg
I would like to keep the folder structure unchanged but I would like to rename each of the .jpeg files to .jpg files (.jpeg->.jpg)
My downstream commands require .jpg files, and attempting to change that code to simply handle the .jpeg files has been unsuccessful.