TekRevue

  • Home
  • OS X
  • Windows
  • Mobile
  • Games
  • Reviews
  • Editorials
  • Tips
    • Windows
    • Mac
    • Mobile
  • Twitter
  • Facebook
  • Google+
  • Feed

 015823

OS X / Tips

How to Batch Rename Multiple Files in OS X Yosemite

By Jim Tanous on November 25, 2014 at 11:30 AM • @mggjim

As our digital libraries continue to grow, so too has the importance of efficiently managing our data. To this end, Apple has introduced several features in OS X to help users corral their pictures, documents, and other files, such as Spotlight metadata and Finder Tags. Sometimes, however, nothing beats a good file naming scheme. A consistent file name structure, including information such as the date, project, and description, can often be the best way to properly organize and locate digital data. But if you haven’t been applying such a file naming strategy from the get-go, you’ll likely find yourself faced with the daunting task of renaming large numbers of existing files. Thankfully, Apple has recently introduced a new feature in OS X that makes this process much easier.

Looking for the best Mac and iPhone apps for freelancers and small businesses? Visit Marketcircle to learn about their industry-leading CRM, project management, time tracking, and invoicing solutions.

Prior to OS X Yosemite, Mac users looking to batch rename files in the OS X Finder would have to turn to third party tools. Renaming single files was simple enough, but if you had to rename multiple files, you’d need apps like Renamer or NameChanger.

With OS X Yosemite, however, Apple has integrated basic batch renaming capabilities directly into Finder. To use it, simply highlight or select multiple files in a Finder window, right-click (or Control-click) on the selected items, and choose Rename. Here’s an example to illustrate this process.

osx-batch-rename-before

Above, we have a Finder folder with 20 image files, all named with the original camera naming scheme (IMG_4087, IMG_4088, etc.). That’s not very helpful, and we’d like to rename them with a file name that includes the date they were shot and a brief description. Now, we could always go through and rename each one individually, but that would take a good bit of time, especially for lists of files much larger than the 20 we’re dealing with here.

osx-finder-manual-rename

Instead, let’s try the new Batch Rename feature in OS X Yosemite. First, we’ll select all of the files we want to rename, which in this case is all of them. Then, right-click (or Control-click) on the selected files and choose Rename 20 Items (the number of items in the context menu will obviously change depending on how many files you’re working with).

osx-finder-batch-rename-files

A new window will appear offering some basic options for batch renaming your files. Here’s a brief explanation of each option.

Replace Text: allows you to find and replace only certain parts of an existing filename. In our example, let’s say we wanted to keep the camera’s numbering scheme, but replace the “IMG” prefix with a description of where the images were shot. We’d therefore enter “IMG” into the Find box, and “Beach” into the Replace with box.

Add Text: allows you to add text to the beginning or end of the existing file name. Again returning to our example, we could keep the existing camera file name, but just add the date at end. We’d therefore enter 20140710 in the text filed and select after name from the drop-down menu.

Format: this is what most people envision when they think about batch file renaming. This option lets you get rid of the original file name entirely and replace it with your own. Options include creating a custom name with a numbered sequence (Name and Index), a custom name with a counter (Name and Counter), and a custom name with the date (Name and Date). In each case, you can choose to place the counter, sequence, or date before or after the custom name.

In our case, we’d like the date, but don’t want the timestamp that accompanies the automatic date application in the Name and Date option. So we’ll choose Name and Index, which lets us put the date in manually in the exact desired format.

finder-batch-rename-custom-format

That means that we’ll enter “20140710-Beach-” in the Custom Format box, and tell Finder to append the index number after the file name. Note that we include the extra dash after “Beach” in our custom name so that the index number is separated from the description. Without it, the number would be appended directly after “Beach.” You can also use spaces in the same way by simply including an extra space at the end of your custom name. As you fiddle with your naming scheme, Finder will helpfully show you an example preview of what the files will look like at the bottom of the window.

When you’re all set with your desired batch rename, just click Rename to apply the changes. You’ll now find that all of your files have the new name and sequence, saving you the time and hassle of renaming them by one-by-one.

osx-finder-batch-rename

Longtime users of third party batch renaming tools will recognize that the new batch rename features in OS X Yosemite are relatively basic. Third party tools still offer more features and capabilities, and power users will likely want to stick with existing renaming solutions offered by the Terminal and Automator. But for everyone else with basic renaming needs, OS X Yosemite and Finder are all you need.

Want news and tips from TekRevue delivered directly to your inbox? Sign up for the TekRevue Weekly Digest using the box below. Get tips, reviews, news, and giveaways reserved exclusively for subscribers.

 015823

  • Categories: OS X / Tips
  • Tags: #File Management #Finder #How To #OS X Yosemite #Tips

Sign Up for the TekRevue Weekly Digest

Read more in OS X or Tips on TekRevue

  • chrome for mac os x
    How to Test Chrome’s Native Notifications for Mac

    Filed Under: Tips

  • How to Change PS4 Remote Play Resolution & Frame Rate on the Mac

    Filed Under: Games / OS X / Tips

  • disable automatic updates el capitan
    How to Disable Automatic Updates in OS X El Capitan

    Filed Under: OS X

  • Marshall Jax

    If you are renaming images - the utility Graphics Converter is a great one with a lot more options than appears in the Yosemite built in. Among other options is to give a name but keep the images original sequence number.

    Adobe Lightroom has similar functionality built in.

  • http://androidmyths.blogspot.com Dimitro

    Hello, i foumd this software is really helpful for batch renaming in windows. It works really well and its easy to use no need to type any codes. So try it. The software’s name is Krojamsoft Batch Rename.

  • http://about.me/jevchance jevchance

    Correction: all of this was accessible in previous versions of Mac OS X, you just needed to use the Script Menu to access Finder Applescripts. No third party tool was required.

  • Raveen Roshan

    Great Tip. Thanks for sharing. Works well on Yosemite.

  • Michael Kuang

    I appreciate the tip. Will come in handy.

  • Gregg Tomlinson

    Great tip, thank you! Just used this for renaming a bunch of @font-face files preloading in a sitebuild.

  • Vegard

    holy shit this was usefull!

  • http://www.lsi.cefetmg.br/~pema Paulo Almeida

    Thx 4 sharing this. Is it possible to use mask characters (&,*,…) ou regex with this built-in renamer?

  • Philip Harper

    This has literally, saved me loads of time. Thanks, this is brilliant.

  • Sarah

    Thank you SO MUCH. Never realized this was an option!

Search

Related Articles

  • osx-yosemite-network-drive
    How to Automatically Connect to a Network Drive at Login in OS X
  • Messy Desktop
    How to Clean Up and Hide Desktop Icons in OS X
  • Custom OS X Icons
    The Complete Guide to Using Custom Icons in OS X
  • Unix System Files Root Directory
    How to Include System Files in OS X Finder Search Results
  • Convert Audio OS X
    How to Convert and Encode Audio Files with Mac OS X Finder

Connect with TekRevue

  • TekRevue on Twitter
  • TekRevue on Facebook
  • TekRevue on Google+
  • Cheats
  • Deals
  • Distractions
  • Editorials
  • Gadgets
  • Games
  • Giveaway
  • Hardware
  • Mobile
  • News
  • More in OS X
  • Podcast
  • Reviews
  • Sponsor
  • Tips
  • Windows
  • ps4 remote play mac
    How to Change PS4 Remote Play Resolution & Frame Rate on the Mac
  • How to Disable Automatic Updates in OS X El Capitan
  • mac os x custom resolutions
    How to Set Custom Resolutions for External Displays in Mac OS X
  • itunes-movies-metadata
    How to Add Detailed Metadata to Ripped Movies in iTunes
  • safari responsive design mode
    Test Your Website’s Mobile Layout With Safari Responsive Design Mode
  • mac os x help window
    How to Stop the OS X Help Window from Staying on Top
  • delete zip file mac
    How to Automatically Delete Zip Files When Opened in Mac OS X
  • mac uptime
    How to Find Mac Uptime in OS X
  • map location pin
    How to Manually Add a Location to Your Images in Photos for Mac
  • macbook-dual-monitor
    How to Move the Dock to a Another Monitor in OS X El Capitan
  • gatekeeper el capitan
    How to Permanently Disable Gatekeeper in OS X El Capitan
  • el capitan transparency
    How to Reduce Transparency in OS X El Capitan
  • replace login screen wallpaper os x el capitan
    How to Replace the OS X El Capitan Login Screen Wallpaper
  • Mac OS X Dock
    How to Dim Hidden Mac App Icons in the Dock
  • file-path-mac
    OS X El Capitan: How to Copy a File Path in Finder
  • raid os x el capitan
    How to Create RAID Volumes in OS X El Capitan
  • using macbook trackpad
    How to Turn Off Force Touch in OS X El Capitan
  • shake cursor large os x el capitan
    How to Stop Your Cursor from Getting Bigger in OS X El Capitan
  • split view not working
    El Capitan’s Split View Not Working? Check This Option in System Preferences
  • os x el capitan
    New in OS X El Capitan: How to Hide the Menu Bar

Tips

  • Apps
  • Gaming
  • Mac
  • Mobile
  • Online
  • Windows
  • chrome for mac os x
    How to Test Chrome’s Native Notifications for Mac
  • office 365 installer
    How to Install the Older Office 2013 via Office 365
  • itunes 12 separate download window
    iTunes 12: How to Show a Separate iTunes Downloads Window
  • remove creative cloud files file explorer
    How to Remove Creative Cloud Files from the File Explorer Sidebar in Windows
  • ipad controller game
    How to Set Up and Game With an iOS Controller on Your iPhone or iPad
  • ps4 remote play mac
    How to Change PS4 Remote Play Resolution & Frame Rate on the Mac
  • steam trash
    How to Remove a Game From Your Steam Library
  • xbox one elite controller
    How to Use Custom Button Mapping on the Xbox One
  • disable automatic updates el capitan
    How to Disable Automatic Updates in OS X El Capitan
  • mac os x custom resolutions
    How to Set Custom Resolutions for External Displays in Mac OS X
  • itunes-movies-metadata
    How to Add Detailed Metadata to Ripped Movies in iTunes
  • safari responsive design mode
    Test Your Website’s Mobile Layout With Safari Responsive Design Mode
  • ipad controller game
    How to Set Up and Game With an iOS Controller on Your iPhone or iPad
  • ipad pro true tone display
    How to Disable True Tone Display on the 9.7-inch iPad Pro
  • sunset location services
    Enable Location Services to Use Night Shift’s ‘Sunset to Sunrise’ Option
  • locked notes ios iphone
    How to Lock Notes in the iOS Notes App
  • youtube loop
    How to Loop YouTube Videos
  • netflix bandwidth data usage
    How to Reduce Netflix Bandwidth Usage to Avoid ISP Data Caps
  • netflix autoplay
    How to Stop Netflix From Automatically Playing the Next Episode
  • distracted man computer
    How to Turn Off Distraction-Free Mode in WordPress
  • chkdsk windows 10
    How to Scan & Fix Hard Drives with CHKDSK in Windows 10
  • windows 10 login screen
    How to Skip the Windows 10 Login Screen and Log Into Your User Account Automatically
  • laptop apps
    How to Organize and Remove Apps from the Windows 10 Start Menu ‘All Apps’ List
  • windows-defender-icon-metro
    Windows 10: How to Quickly Scan a File or Folder with Windows Defender
Company
  • About TekRevue
  • Get in Touch
  • Sponsorships

Sign Up for the TekRevue Weekly Digest

© TekRevue LLC. All Rights Reserved.

  • TekRevue User Agreement
  • TekRevue Privacy Policy

Built by Blazer Six