Image photos originating from iOS devices such as iPhones often have names like:
IMG_1728.JPG
This naming scheme provides little meaning. Android names image files using a more descriptive scheme:
20241113_024948.jpg
Which follows YYYYMMDD_HHMMSS format. This program renames files from iOS format to Android format by
interpolating Android style timestamps from file EXIF metadata.
First, change directories to wherever the target files are located. Then run:
ios2droidThis will perform a dry run. If satisfied with the expected renaming, run:
ios2droid --renameWhich will actually rename the files in the current working directory.
Not all files can be renamed. To inspect the raw EXIF metadata associated with a file, simply pass:
ios2droid <foo.jpg>This may provide some additional insight into why a file cannot be renamed.
Simply clone this repo, then run:
makeThis program uses {fmt} and this library will need to be installed.