AI Agent Hub
Back to skills
Photo Batch Renamer Tool icon

Photo Batch Renamer Tool

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_f8ee4625/photo-renamer-tool.

About this skill

The problem

Travel photos often arrive with opaque file names such as IMG_20260501_1234.jpg. Even when capture dates exist in EXIF data, renaming, sorting, and numbering them manually is tedious. This tool targets batch photo organization by combining capture time, location, and sequence into searchable file names.

How it works

The tool accepts two required parameters, targetDir and location, and works with common image formats: .jpg, .jpeg, .png, and .heic. The main steps are:

  • Extract the capture date from the photo's EXIF metadata;
  • Sort files by capture time;
  • Build file names using the YYYY-MM-DD_location_sequence format;
  • Pad the sequence to three digits, such as 001 and 002.

For example, with location=Beijing, a file can become 2026-05-01_Beijing_001.jpg.

Limits and notes

The workflow depends on EXIF data. If the capture date is missing or metadata has been stripped, sorting and naming may be unreliable. Both targetDir and location are required. It is focused on batch renaming and does not perform content recognition, person grouping, or advanced album curation.

Use Cases

  • When organizing Beijing travel photos, rename JPG, PNG, and HEIC files in a folder by capture date, location, and sequence.
  • After a trip, sort camera-exported photos by EXIF capture time and generate continuous numbers like 001 and 002.
  • When archiving Great Wall photos, add a location field to same-folder images to create names such as 2026-05-01_GreatWall_001.jpg.
  • Batch rename .heic and .jpeg files by capture date to avoid unclear names that start with IMG_.

Best For

  • Travelers who export photos from a camera or phone and need date, location, and sequence naming.
  • Photography enthusiasts who sort event images by capture time and want continuous zero-padded numbers.
  • Personal archive owners who rename many .heic and .png photos for travel album organization.
  • Family members who organize trip photos and need clear file names from EXIF capture dates.