Creating a shortcut to rename multiple selected files in batch

Hi everyone!

I’m looking for some help creating an Apple Shortcut that can run on my iPad. I’m trying to develop a new workflow for my photography, but I’m stuck and haven’t been able to create a fully functional Shortcut myself.

Here’s what I would like the Shortcut to do:

  1. In the Files app on my iPad, I select multiple image files. The images are located on an SD card connected to the iPad and mounted in the Files app.

  2. From the Share Sheet, I want to run the Shortcut with the selected images as input.

  3. The Shortcut should ask me for a custom name/prefix. For example:
    CostaRica

  4. For each selected image, the Shortcut should read the photo's EXIF capture date and create a new filename using this format:

    CostaRica_YYYYMMDD_001.NEF

    For example:

    CostaRica_20260101_001.NEF
    CostaRica_20260101_002.NEF
    CostaRica_20260101_003.NEF

    The date must come from the image's EXIF Date Taken, not the current date.

  5. The sequential number should increment for each image:
    001, 002, 003, etc.

  6. The original file extension must be preserved. This is particularly important because I am working with Nikon RAW files (.NEF).

  7. The original files must not be renamed, moved, or modified. They should remain exactly where they are on the SD card with their original filenames.

  8. The Shortcut should make copies of the selected files using the new filenames.

  9. Before copying, the Shortcut should ask me where I want to save the new files. The destination will normally be an external drive connected to the iPad and accessible through the Files app.

So, in summary:

SD card → select multiple images in Files → Share Sheet → Shortcut → enter custom prefix → read EXIF capture date → generate sequential filenames → choose destination → copy files with new names.

The original files on the SD card must remain untouched.

I would also like the Shortcut to work with large RAW files such as Nikon .NEF files without converting them to JPEG or another format.

It probably sounds relatively simple, but I’m stuck trying to build the Shortcut and would really appreciate some help!



Thanks for your help!
Pjay 👊