Scripts: rename files with wrong extension #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR extends the functionality of heic2jpg.sh by adding new scripts to handle common image file extension issues:
jpg2heic.sh
- corrects JPG/JPEG files that should be HEICpng2jpg.sh
- corrects PNG files that should be JPG/JPEGfix_img_extensions.sh
- combined script to handle all cases in one passI have encountered issues with Synology Moments backup photos having incorrect file extensions, which prevents PhotoPrism indexing. These scripts will help automatically correct such issues.