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
Prompt template
- 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
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