Shellway

Home / Prompts / Files

Rename files in bulk

Give hundreds of files clear, consistent names in one go.

FilesStep by step

The prompt

In the folder ~/Documents/Invoices, rename every PDF to the pattern YYYY-MM-DD_Customer_Amount.pdf using the date, customer name and total written inside each invoice. Show a table of old and new names first, then rename after I confirm.

How to use it

  1. Make sure Shellway is connected in ChatGPT, Claude or Cursor.
  2. Paste the prompt and change the folder names or paths to match your computer.
  3. Review the plan your AI shows before you confirm any changes.

Tips

  • If some files cannot be read, ask it to list them separately instead of guessing.

Related prompts