Rename Files in Bulk

Generate a script to rename every file in a folder using a date, activity name, and sequence number, with step-by-step instructions for running it

eksalp Republished on 0 Bookmarks 0 Copies
Bookmark 0

Prompt template

Usage instructions
Format
Text Parameterized
Inputs
Folder_location (text) · Required Old_filename_example (text) · Required New_filename_example (text) · Required folder_path (text) · Required
Outputs
Renaming_script_and_run_instructions (code, text)
Write a script to rename all files in a folder using this format: [date][activity name][sequence number].

Folder location: ${folder-path}
Example of an old filename: ${old-filename-example}
Example of the desired new filename: ${new-filename-example}

Explain step by step how to run the script.

Replace the ${…} placeholders with your values before using this prompt. See parameters and defaults below

Parameters

Replace each placeholder with your own value, or use its default when one is provided

${folder-path} folder-path Required
${old-filename-example} old-filename-example Required
${new-filename-example} new-filename-example Required

What you'll create

This prompt asks for a script that renames all files in a folder using a date, activity name, and sequential number. It also requests step-by-step instructions for running the script

Usage instructions

Provide the folder location, one example of a current filename, and its desired new name. The examples show how the naming pattern should be applied, so choose ones that reflect the format you want

Frequently asked questions

What examples should I provide?

Include one current filename and the corresponding filename you want the script to produce

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each

More prompts from this author

View all

Visit eksalp’s profile for their full collection