Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In OS X Lion, when I press cmd+shift+4 and then space, I take a screenshot of an app.

But I use my OS in Spanish, and the screenshot file name is very long with spaces and "(,)" chars.

Captura de pantalla 2011-09-25 a la(s) 15.25.54.png

How can I change the default name of screenshots?

share|improve this question
up vote 10 down vote accepted

From Apple discussions:

sudo su
cd /System/Library/CoreServices/ j
plutil -convert xml1 ScreenCapture.strings
vim ScreenCapture.strings


<key>%@ %@ at %@</key>
          <string>%@ %@ a la(s) %@</string>


<key>%@ %@ at %@</key>
          <string>%@ %@_at_%@</string>


plutil -convert binary1 ScreenCapture.strings
killall SystemUIServer
share|improve this answer

Sounds like you want back the old Leopard-style "Picture 1", "Picture 2" conventions. I don't know if that's something you can customize though. At least not while the screenshots are taken.

Changing the part before the date

A little workaround: The following will remove the "Captura de pantalla" part. Open up a Terminal and enter:

defaults write name -string "screenshot"
killall SystemUIServer

Replace screenshot with whatever you want your screenshots to be named.

Changing the whole name

If you know that your screenshots land on the desktop anyway, you can of course create an Automator action that automatically changes screenshot file names when they appear on your Desktop (as a so-called "Folder Action"):

  1. Start by opening and selecting "Folder Action" as a new action type
  2. For the target folder, select the Desktop.

    enter image description here

  3. Drag the "Find Finder items" and "Rename Finder items" actions from the left to the right pane

  4. In the first action, search "Desktop", and under the conditions, select files that begin with "screenshot" (or whatever they are called right now) and are of the kind "image"

    enter image description here

  5. For the "Rename Finder items" action, change the type to "Make sequential". Choose a new name for your screenshots.

    enter image description here

  6. Save the workflow under any name. Now, it doesn't kick in instantly, so you'll have to wait a bit before your files are renamed. If you want, you can even tweak this script to move your screenshots to a new folder, convert them, et cetera.

To remove this, right-click your Desktop folder, select "Services", "Folder Actions Setup". Uncheck the folder action or disable them completely.

enter image description here

If you ever want to change your workflow, it's located in /Users/your-username/Library/Workflows/Applications/Folder Actions.

share|improve this answer
with name change the file name, but how I can change date string ? – juanpablo Sep 25 '11 at 19:10
I search a answer similar to – juanpablo Sep 25 '11 at 19:54
Did that work in Lion too? Can't test it, only on 10.6. – slhck Sep 25 '11 at 19:55
I try edit this file /System/Library/CoreServices/‌​/Localizable.strings but, I can't – juanpablo Sep 25 '11 at 19:55
Why? Does the file not exist? Any other problems? – slhck Sep 25 '11 at 20:01

I've disabled the default shortcuts in System Preferences, and use scripts like:

screencapture -io ~/Desktop/`date '+%y%m%d%H%M%S'`.png
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .