Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Batch-renaming

From: Photoshop CS5 One-on-One: Fundamentals

Video: Batch-renaming

All right gang, in this exercise we're going to start renaming a few of our files. And as you may recall, most of our images have arbitrary filenames that were assigned by the various digital cameras. I have the Bridge pointed, once again at the 03_open_org folder. Couple of different ways you can rename files. One is you can just click on an existing filename. That will highlight all but the extension, and then you can go ahead and replace that filename with something else. For example I could call this Snowmobile trails because that's what we're seeing there, and then I could press the Tab key to advance to the next file, and the reason these guys switch with each other is because we're looking at the images in reverse order according to filename.

Batch-renaming

All right gang, in this exercise we're going to start renaming a few of our files. And as you may recall, most of our images have arbitrary filenames that were assigned by the various digital cameras. I have the Bridge pointed, once again at the 03_open_org folder. Couple of different ways you can rename files. One is you can just click on an existing filename. That will highlight all but the extension, and then you can go ahead and replace that filename with something else. For example I could call this Snowmobile trails because that's what we're seeing there, and then I could press the Tab key to advance to the next file, and the reason these guys switch with each other is because we're looking at the images in reverse order according to filename.

So T comes after S and as a result they got resorted. Anyway I'm going to call this Snowmobile guide, because he was our leader, jumping all over the place there. All right, so that's something you can do. You can also by the way override the extension if you want to. I'm going to switch this Felix Mizioznikov subfolder, and you may recall the Two young women.jpg is actually a TIFF file. So I could go ahead and select JPEG manually after making the filename active then drag over JPEG and replace it with TIFF, then hit the Enter key or the Return key on the Mac and the Bridge is going to say, hey, that's really dangerous that you're trying to do this because you might render this image unusable.

Au contraire Bridge it was already unusable, I'm rendering it usable so I want to go ahead and click OK in order to except that modification. So you can do that as well. What I'm going to tell you is renaming your images one-by-one is a way to work but it's not the most common way to work. You probably are going to be batch renaming, renaming lots of images at once. While we go ahead and switch to our JPEG files assuming you created that folder along with me and let's switch our filenames so that we're seeing them in standard old everyday alphabetical order.

So we're seeing the images in the order they were shot because that's the order in which they were named by the camera. And I'm going to click on this first butterfly and then I'm going to scroll down to this butterfly right before Sammy. So I want to rename these guys and I'll go up to either the tools menu and choose Batch Rename, that's one way to work, or you can go to this little icon right there, the Refine icon and click on it and choose Batch Rename. In any case it's Ctrl+Shift+R or Command+Shift+R on the Mac. And notice that you have to have files selected, you can have as few as one file selected if you want, but something needs to be selected there inside the Bridge.

Now then, notice that we can create Presets inside of this dialog box. That's new to CS5, and in fact there is a fair amount of new stuff going on here inside of Bridge CS5. Now by default the Bridge wants to go ahead and rename all of your files' project with the date created and this really long sequence number, which is for the birds in my opinion, what a dumb thing to do. I am going to go ahead and give my images a meaningful name like Butterfly pavilion because that's where I shot these images. And I'm going to get rid of that Date Created thing.

We can find that out in a different way. So we don't have to clutter the filename with the date. And I'll get rid of this bit of Text too, and I'll add a little hyphen, like so, after Butterfly pavilion. And let's make the Sequence Number just two digits long, four digits why? So I'll go ahead and replace the Current filenames with Butterfly pavilion-01 and so on and if you want to check out how your images are going to be renamed and this becomes exceedingly important. When we start replacing strings inside of our filename you can click on Preview and you'll see that what's now B000418.jpg will become Butterfly pavilion-01.jpg.

Excellent! Click OK. You can also by the way export this list to a CSV file, which is a spreadsheet, which you can open up in Excel or the like. Anyway, I'm going to say OK and I'm going to go ahead and rename. And just like that I've renamed all of these images. Now they've jumped to the bottom because they are now at the end of the alphabetical order, and notice they go to 12, very important because we missed a couple, these two guys were hiding from us and I need to rename them too. So I'll go ahead and select them and once again choose the Batch Rename command, and I want to run this same operation so it comes up once again and it remembers that I left off at Sequence Number 13, which is totally great, now you can change that number to anything you like.

I could change it to 103 which is not two digits long so I'd have to change the number of digits or change that number right there, but 13 is exactly what I want. So one would think if I click on Preview that I'll see one image turn to 13 and the other to 14, sure enough, click OK, click Rename. I'm in good shape. I went ahead and got those two guys. Now if you want to do the same thing back inside of your DNG files. So we're just taking care of these JPEG files for the moment, I'll go back over to open_org, which is the list of original files here and I'll scroll down until I find this group of butterflies.

Let's go ahead and select all of them, click on one, Shift+Click on the other and then I'm going to Ctrl+Click on each of these two to add them to the selection, that's a Command+Click on the Mac, and I'll go back up to tools, choose Batch Rename once again, and let's go ahead and rename all of these guys except, let's start at 01, or you can just enter 1, by the way you don't have to enter the 0 and click on Preview and you'll see that it goes from 1 to 14, excellent, click OK, click Rename, there we go, everything is taken care of. Now there is one pet peeve that I have with some of the filenames in this list here.

Notice that most of the filenames end in lowercase extensions, which I like, but some of them end in uppercase extensions, which I just personally hate. It just bugs me. So let's say you're the same way. You have these same issues that I do, and you want to go ahead and rename all of your images with lowercase filenames. Check this out, go ahead and press Ctrl+A, Command+A on the Mac to just select all of the images. Then let's go back up to tools choose Batch Rename, and here's what we're going to do, we're going to switch out this first guy for preserved filename, like so, and we're going to say Name, so that's the name of the file and we're going to say Original Case.

So we're not going to change the filenames at all. And then we're going to change this guy to Preserved Filename and he will be just the extension and he will be lowercase, like so. So that will replace out all the uppercase extensions with lowercase ones, click on Preview, and you should see just ten of these files change because only ten of them had uppercase extensions in the first place. Now they'll go to lowercase extensions. That is, if you are working along with me of course. If you're doing your own thing you may see any number of files change, click OK. And now I would save this off as a Preset and I'll go ahead and click on the Save button and I'm going to call it Extension fixer because this is the kind of thing I do on a regular basis, click OK, and now you'll just be able to choose that preset in the future in order to replace uppercase extensions with lowercase ones.

All right, now I'll click Rename and the deed, she is done. And the Bridge is even smart enough to select just those ten images that are renamed. That's pretty amazing. In the next exercise I'm going to show you how to do String Substitutions, which is a feature that's new to CS5.

Show transcript

This video is part of

Image for Photoshop CS5 One-on-One: Fundamentals
Photoshop CS5 One-on-One: Fundamentals

195 video lessons · 74104 viewers

Deke McClelland
Author

 
Expand all | Collapse all
  1. 39m 52s
    1. Welcome to Photoshop CS5 One-on-One
      1m 49s
    2. Making Photoshop your default image editor
      7m 43s
    3. Installing the DekeKeys keyboard shortcuts
      8m 10s
    4. Remapping Mac OS shortcuts
      7m 37s
    5. Installing the Best Workflow color settings
      4m 31s
    6. The color settings explained
      6m 54s
    7. Loading the CS5 color settings in Bridge
      3m 8s
  2. 53m 36s
    1. There is nothing you can't do
      2m 1s
    2. The power of Photoshop
      4m 43s
    3. Duplicating a layer
      4m 49s
    4. Liquifying an image
      4m 43s
    5. Adding a layer mask
      5m 54s
    6. Loading an alpha channel
      7m 42s
    7. Selecting with Color Range
      4m 10s
    8. Making a Hue/Saturation layer
      2m 53s
    9. Luminance blending
      7m 21s
    10. Mask density
      5m 9s
    11. Making a knockout layer
      4m 11s
  3. 51m 23s
    1. The best way to work
      41s
    2. Setting General preferences
      5m 33s
    3. Changing the pasteboard color
      5m 41s
    4. File handling, performance, and units
      7m 25s
    5. Touring the Photoshop interface
      11m 5s
    6. Creating and saving a workspace
      7m 21s
    7. Changing settings and updating the workspace
      6m 4s
    8. Resetting the preferences
      7m 33s
  4. 2h 46m
    1. The amazing Adobe Bridge
      1m 17s
    2. Making a new image
      5m 11s
    3. Opening an image
      7m 7s
    4. Opening and closing multiple images
      5m 24s
    5. Opening a problem image
      4m 23s
    6. Adding file information
      8m 37s
    7. Introducing Adobe Bridge
      7m 37s
    8. A whirlwind tour of Bridge
      7m 21s
    9. Adjusting the interface and thumbnails
      8m 18s
    10. Using the full-screen preview
      8m 5s
    11. Rotating images on their sides
      5m 38s
    12. Assigning star ratings and labels
      8m 40s
    13. Filtering thumbnails in the Contents panel
      9m 13s
    14. Moving, copying, and deleting files
      6m 34s
    15. Creating and assigning keywords
      6m 38s
    16. Searches and collections
      7m 3s
    17. Batch-exporting JPEG files
      8m 57s
    18. Batch-renaming
      7m 15s
    19. String substitution and regular expressions
      8m 50s
    20. Grouping images into stacks
      7m 21s
    21. Comparing images in Review mode
      5m 58s
    22. Playing images in a slideshow
      4m 49s
    23. Customizing and saving the workspace
      7m 17s
    24. Using Mini Bridge in Photoshop CS5
      8m 36s
  5. 1h 1m
    1. Learning to swim inside an image
      37s
    2. The tabbed-window interface
      5m 19s
    3. Arranging image windows
      4m 26s
    4. Common ways to zoom
      5m 31s
    5. New zoom tricks in Photoshop CS5
      4m 24s
    6. Hidden old-school zoom tricks
      4m 34s
    7. Scrolling and panning images
      4m 8s
    8. Viewing the image at print size
      6m 42s
    9. The Navigator and "bird's-eye" scrolling
      2m 56s
    10. Nudging the screen from the keyboard
      2m 39s
    11. Scroll wheel tricks
      3m 41s
    12. The Rotate View tool
      3m 36s
    13. Cycling between screen modes
      6m 17s
    14. Using the numerical zoom value
      6m 14s
  6. 1h 6m
    1. Imaging fundamentals
      58s
    2. What is image size?
      7m 45s
    3. The Image Size command
      6m 0s
    4. Selecting an interpolation option
      4m 56s
    5. Upsampling versus "real" pixels
      5m 22s
    6. The penalty of pixels
      5m 35s
    7. Print size and resolution
      7m 26s
    8. Downsampling for print
      6m 39s
    9. Downsampling for email
      7m 28s
    10. Options for upsampling
      8m 13s
    11. Better ways to make a big image
      6m 1s
  7. 44m 43s
    1. Frame wide, crop tight
      1m 2s
    2. Using the Crop tool
      8m 8s
    3. Fixing out-of-canvas wedges
      5m 31s
    4. Crop tool presets
      6m 53s
    5. Previewing the crop angle
      4m 24s
    6. The Crop command
      4m 47s
    7. Straightening with the Ruler tool
      4m 18s
    8. Cropping without clipping
      5m 1s
    9. Perspective cropping
      4m 39s
  8. 1h 41m
    1. Making drab colors look better
      1m 20s
    2. Brightness and contrast
      4m 10s
    3. Adjusting numerical values
      4m 26s
    4. Introducing adjustment layers
      5m 17s
    5. Editing adjustment layers
      2m 51s
    6. Saving adjustment layers
      4m 35s
    7. Adding a quick layer mask
      4m 23s
    8. Introducing the Histogram
      4m 34s
    9. Working with the Histogram panel
      6m 27s
    10. Using Color Balance
      7m 18s
    11. Introducing the Variations command
      4m 51s
    12. Luminance and saturation controls
      3m 54s
    13. Fading a static adjustment
      3m 21s
    14. How hue and saturation work
      4m 28s
    15. Rotating hues and adjusting saturation
      6m 4s
    16. Creating a quick and dirty sepia tone
      4m 42s
    17. Adjusting hues selectively
      5m 32s
    18. The Target Adjustment tool
      4m 24s
    19. Photoshop CS5 Target Adjustment enhancements
      53s
    20. Adjusting the color of clothing
      8m 44s
    21. Enhancing a low-saturation image
      4m 23s
    22. Refining saturation with Vibrance
      5m 1s
  9. 1h 57m
    1. Photoshop versus the real world
      1m 21s
    2. Meet the selection tools
      10m 26s
    3. Marking the center of an image
      4m 9s
    4. Drawing a geometric selection outline
      4m 45s
    5. Blurring a selection outline with Feather
      6m 8s
    6. Copy and paste versus drag and drop
      5m 31s
    7. Creating a graduated selection
      4m 29s
    8. Aligning one image with another
      4m 45s
    9. Accessing the Move tool on the fly
      3m 34s
    10. Invert and Match Colors
      5m 4s
    11. Matching colors selectively
      3m 52s
    12. Feathering and filling a selection
      5m 14s
    13. Dressing up a composition with effects
      5m 34s
    14. The incredible image rotation trick
      2m 18s
    15. The Magic Wand tool
      4m 12s
    16. Tolerance and other options
      7m 7s
    17. Grow, Similar, and Inverse
      5m 39s
    18. Quick selection and the Magnetic Lasso
      7m 27s
    19. Evaluating a selection in Quick Mask
      8m 52s
    20. Saving and loading selections
      6m 14s
    21. Placing an image with a layer mask
      3m 23s
    22. Eliminating edge fringing
      7m 43s
  10. 1h 58m
    1. Brushing to correct
      56s
    2. How brushing works
      4m 52s
    3. Working with spacing
      7m 32s
    4. Changing size and hardness
      7m 45s
    5. The heads-up Color Picker
      7m 17s
    6. Flipping a mirror image
      3m 33s
    7. Setting the source for the History brush
      3m 42s
    8. Brightening details with the Dodge tool
      7m 49s
    9. Darkening details with the Burn tool
      3m 5s
    10. The Sponge tool
      4m 29s
    11. Backing off edits
      8m 4s
    12. Patching eye bags
      8m 57s
    13. Evening out flesh tones
      7m 23s
    14. Smoothing away whiskers
      7m 41s
    15. Reducing shadow noise
      7m 0s
    16. How healing works
      4m 40s
    17. The enhanced Spot Healing brush
      4m 52s
    18. Using the better Healing brush
      4m 23s
    19. Introducing the Clone Source panel
      3m 49s
    20. Cloning from one layer to another
      5m 30s
    21. Working with multiple sources
      4m 44s
  11. 1h 23m
    1. The layered composition
      1m 0s
    2. Making a new background layer
      6m 58s
    3. Working with "big layers"
      6m 24s
    4. Move, Duplicate, and Scale
      4m 11s
    5. Transforming a copy and repeat
      5m 15s
    6. Stacking order and eyedropping a layer
      5m 15s
    7. Adjusting multiple layers at once
      4m 22s
    8. Switching between layers
      4m 56s
    9. Making a digital star field
      5m 9s
    10. Blend mode and clipping mask
      4m 50s
    11. Dragging and dropping from your desktop
      4m 38s
    12. Black + Lens Flare = glow
      6m 16s
    13. Locking transparency
      5m 42s
    14. Adding gradient layers
      8m 12s
    15. Stacking an adjustment layer
      4m 12s
    16. Adding shadow and stroke
      6m 9s
  12. 1h 17m
    1. Outputting from Photoshop and Bridge
      1m 32s
    2. Printing an RGB composite
      5m 31s
    3. Customizing the subjective print file
      3m 15s
    4. Gauging print size
      5m 35s
    5. Scale, position, and page orientation
      5m 6s
    6. Three important printing curiosities
      4m 41s
    7. Introducing the Output options
      5m 34s
    8. Establishing a bleed
      5m 52s
    9. Using the Color Management options
      7m 21s
    10. Generating a PDF contact sheet
      6m 18s
    11. Creating a contact sheet template
      6m 8s
    12. Saving and opening a PDF contact sheet
      4m 18s
    13. Introducing the Web Gallery
      7m 53s
    14. Exporting and editing an HTML site
      3m 58s
    15. The Airtight Photocard site
      4m 56s
  13. 1h 9m
    1. Rules of the web
      1m 1s
    2. Introducing web graphics
      6m 59s
    3. A first look at Save for Web
      5m 47s
    4. Scaling a layered image versus a flat one
      7m 30s
    5. Incremental downsampling
      3m 1s
    6. Adding text, bar, and stroke
      4m 24s
    7. Assigning copyright and metadata
      6m 21s
    8. Comparing GIF, JPEG, and PNG
      4m 59s
    9. Determining the perfect JPEG settings
      6m 31s
    10. Saving metadata
      3m 52s
    11. Working with an unprofiled RGB image
      4m 35s
    12. Downsampling graphic art
      4m 49s
    13. Saving a GIF graphic
      6m 1s
    14. Antiquated GIF versus the better PNG
      4m 6s
  14. 1m 37s
    1. Until next time
      1m 37s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Photoshop CS5 One-on-One: Fundamentals.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.