Stephen Robles logo

Stephen Robles

Stephen Robles Website
Home/claude cowork on mac/How to Batch-Rename Hundreds of Files (Even Videos) by Content with AI

See Also

How to Automate Actions in Third-Party Apps like Bitly and Slack with Claude Cowork

How to Automate Actions in Third-Party Apps like Bitly and Slack with Claude Cowork

How to Automate Web Tasks and Find Promo Codes with Claude Cowork's AI Browser

How to Automate Web Tasks and Find Promo Codes with Claude Cowork's AI Browser

How to Turn Apple Notes and Notion into a Searchable AI Knowledge Base

How to Turn Apple Notes and Notion into a Searchable AI Knowledge Base

How to Get Started with Claude Cowork on Mac

How to Get Started with Claude Cowork on Mac

Stephen Robles logo

Stephen Robles

llms.txt
Stephen Robles logo

Stephen Robles

llms.txt
© 2026 Stephen Robles. All rights reserved.
Made withHinto AI

How to Batch-Rename Hundreds of Files (Even Videos) by Content with AI

If you have a messy desktop full of unhelpfully named screenshots and screen recordings, this guide will walk you through fixing it automatically. Manually renaming files takes forever. By the end of this tutorial, you will have an AI assistant organizing your files based purely on what is actually inside them.

🏟️📣“Want weekly shortcuts like this? Join the Shortcuts community.

What you'll need

Before you start, you need two things to make this work.

  • The Claude desktop app for Mac. You can download this from claude.com/download.
  • A Claude Pro account. This unlocks the necessary features and costs $20 a month.

Step 1: Fire up the Cowork tab

The magic happens in a specific part of the Claude app.

  1. Open the Claude desktop app.
  2. Click the Cowork tab located at the top of the window.
  3. You might be prompted to install Node.js so Claude can run local commands.
  4. Open Terminal using Spotlight.
  5. Paste the two install commands provided by Claude into the window and press Enter.
  6. Type node -v and press Enter to verify the installation was successful.

Step 2: Rename images based on what they show

Let's say you have a folder full of randomly named screenshots. You can tell Claude to look at the images and rename them for you.

  1. In the Cowork tab, click Work in a folder.
  2. Choose your Desktop from the popup window.
  3. Type "Rename the files on my desktop based on the file contents" into the chat and click Let's go.
  4. Claude will ask for clarification. Choose Just the desktop screenshot.
  5. Select Images when asked which file types should be renamed.

Claude looks at the image and renames it. A file with a generic name instantly turns into "Primary-Technology-Podcast-Website-Homepage.png".

Documentation image

Step 3: Rename video files by analyzing frames

This is where things get wild. You can do the exact same thing for video files. Claude will actually extract frames from your videos, analyze what is happening, and generate highly accurate names.

  1. Click Work in a folder again.
  2. Select a folder of videos. For this example, choose a Test folder inside Downloads filled with generic "CleanShot" screen recordings.
  3. Tell Claude: "Rename these video files based on the content".
  4. Claude extracts the frames and presents a proposed list of new names.
  5. Type "yes" in the chat to confirm.

Watch your Finder window. Your files will automatically change to descriptive names like "Bringnox - Magnetic Cable Product Page.mp4".

Documentation image

Step 4: Connect your everyday apps

Claude Cowork is not limited to your local hard drive. You can link it directly to your cloud services.

  1. Click Settings in the Claude app menu.
  2. Navigate to Connectors.
  3. Here you can connect tools like Gmail, Apple Notes, Notion, Slack, and Bitly.

You get granular control over what Claude can do. You can set Apple Notes to "Read-only tools" or require explicit approval for "Write/delete tools".

Once connected, you can ask plain-English questions across your apps. Ask "Did I get any important emails from youtube in the last month?" Claude will scan Gmail and give you a bulleted summary with direct links.

Documentation image

You can pull information from multiple places at once. Ask "In what episode of Primary Technology did we discuss the M4 Mac Studio?" Claude searches Notion, finds Episode 65, and provides a direct link. You can then ask it to find the chapter markers you sent to a colleague in Slack. Claude jumps over to your messages and pulls those exact timestamps.

You can also give Claude custom instructions for these apps. Tell it: "Every time I ask about Apple Notes, the latest or newest information is at the top of the note. Not the bottom." Claude saves this rule and remembers it for all future requests.

Step 5: Put Claude to work in your browser

You can hand control of a browser tab over to Claude to complete tedious web tasks.

  1. Install the Claude extension for Google Chrome.
  2. Open a webpage where you need to perform a task. For example, open a shopping cart checkout page on Overstock.
  3. Go back to the Claude app and type: "Find a promo code for overstock and keep trying them until one is accepted."
  4. Click Allow for this website when Claude asks for permission.

An orange border appears around your Chrome tab. Claude takes over. It searches the web, copies codes, and tests them in the discount field one by one until it finds a match and applies the savings.

Documentation image

A few things to keep in mind

Giving an AI access to your local files requires trust. If you ever want to revoke Claude's access to specific folders, it is very easy to do.

  • Open your Mac System Settings.
  • Go to Privacy & Security and select Files & Folders.
  • Find Claude in the list.
  • Toggle off access to locations like your Desktop Folder or Downloads Folder.

You're all set

You just turned a messy hard drive and a pile of manual tasks into an automated workflow. Start small with a single folder of screenshots. Once you are comfortable with how it handles your files, try linking a service like Apple Notes or Gmail to see how much daily busywork you can eliminate.

Join the Shortcuts Community

I love making simple Apple Shortcuts that save time and make your devices feel smarter. Want more? Join my Shortcuts community for the Database, Shortcut of the Week, live streams, and help from other members. Sign up here

Documentation image
On this page