Skip to content
/ ios2droid Public

Rename iOS IMG_XXXX.JPG files to Android's beloved YYYYMMDD_HHMMSS.jpg format

License

Notifications You must be signed in to change notification settings

dsw7/ios2droid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ios2droid

GitHub license

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.

Usage

Renaming files

First, change directories to wherever the target files are located. Then run:

ios2droid

This will perform a dry run. If satisfied with the expected renaming, run:

ios2droid --rename

Which will actually rename the files in the current working directory.

Inspecting a file

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.

Setup

Simply clone this repo, then run:

make compile

This program uses {fmt} and this library will need to be installed.

About

Rename iOS IMG_XXXX.JPG files to Android's beloved YYYYMMDD_HHMMSS.jpg format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published