4

When duplicating files in the finder, OS X attaches a space followed by 'copy' to the file name. This can lead to some file alphabetizing problems and the copies may appear out of order (not directly subsequent to the original). Is there a way to change the appended text? I would prefer that it says '_1' or _copy. Thanks.

4
  1. Open /System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/

    Use Show Package Contents to browse the package in Finder, or open using Terminal, etc.

  2. Open Localizable.strings in BBEdit or other editor capable of editing .strings files.

  3. N4 contains the string that is used to name the duplicate file.

    ^0 copy
    

    ^0 is the previous file's name. Make sure to keep this to retain the name of the previous file.

  4. Edit the string how you wish. For example, to duplicate test as test_copy instead of test copy, use…

    ^0_copy
    
  5. Save and relaunch Finder.

    killall -HUP Finder
    
  • However great this answer is, it should be noted that 1) It is a hack and not an official OS X functionality, 2) reinstalling the system, or updating will probably return the value to its default. – Frizlab Nov 17 '13 at 10:46
  • Thanks grgarside. Works for me. @Frizlab, is this really a problem worth noting? Apple is continuing to remove complexity and yet we must pursue the features we want. How else but to hack? – syncr Nov 23 '13 at 23:52
  • I have Mountain Lion, I opened /System/Library/CoreServices/Finder.app/ Contents/Resources/English.lproj/Localizable.strings but it doesn't have either N4 nor ^0 copy, where could it be? (I do use the OS in English) – Petruza Aug 12 '14 at 14:45
  • @Petruza What app did you open the strings file in? – grg Aug 12 '14 at 14:46
  • @GeorgeGarside TextWrangler, it correctly opens it as a text file, I can see all the strings there, but not these. Oh, I see it's kind of a binary file, but TextWrangler correctly opens it as a XML plist file. – Petruza Aug 12 '14 at 14:47

You must log in to answer this question.

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