Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A shortcut to help with file renaming Desktop
When renaming files in Finder, click on the file, press Enter to bring up the rename input box, then while holding down Option, press the right arrow key. This will bring you to the end of the filename, but before the dot extension. Similarly, Option and left arrow brings you to the beginning. Just a little hint that may save some time while renaming.
    •    
  • Currently 2.67 / 5
  You rated: 1 / 5 (6 votes cast)
 
[29,680 views]  

A shortcut to help with file renaming | 13 comments | Create New Account
Click here to return to the 'A shortcut to help with file renaming' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shortcut to help with file renaming
Authored by: ghay on May 15, '07 07:49:02AM

That's not 100% correct.

Option arrow-key will move you to the next word break (space), command arrow key will move you to the start or end as this hint suggests.

And normal rules apply, hitting down takes you to the end, and hitting up arrow takes you to the start, this is normal behaviour for MacOS, try it in Safari's URL bar too.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: barbarella on May 15, '07 07:58:17AM

And if you hold the SHIFT key while using OPT+arrow or CMD+arrow, then you can highlite parts or all of the filename for quick changes right from the keyboard.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: beepotato on May 15, '07 08:03:54AM

Actually, command + left/right arrow key will take you to the beginning/end *of the current line* (which is the normal behavior in MacOS). Which means that it won't take you to the end of the name for a file with a name too long to fit on one line.

As you said, if you want to be sure to go to the end of the name, use the down arrow.

So, to achieve what the poster of the hint wanted to do (i.e., get the cursor righ before the extension dot):
- press enter to get into renaming mode
- press down arrow to get to the end of the name
- press option+left arrow twice to get before the extension dot (pressing it only once would move the cursor to the beginning of the extension, *after* the dot).

Conclusion: life is easier with no (or hidden) extensions. ;)



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: conundrum on May 15, '07 07:51:00AM

For me, it doesn't work with multiple word names. The cursor goes to the start of the second word.

For example, "coded fonts reorganized", the cursor goes to the begining of "fonts".

But this is great for files with only one word.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: NB on May 15, '07 08:24:43AM

The text selection behaviour is simply FANTASTIC on mac. It's maybe the #1 reason to use a mac. (It's surely the #1 thing I miss when I have to use a PC)

Anyway, for XCode users out there, there's another less-known shortcut:
Hit Ctrl-left or Ctrl-right to move into subwords. It's very useful InCasesLikeThatWhenYouHaveALongWord.

And it's obviously available in the "Shift to select" variant, too.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: sjmills on May 15, '07 12:01:08PM

Yes, I wish they'd expand the control-arrowkey subword feature to the entire OS. I use it dozens of times an hour when editing code (and have been for years before in CodeWarrior), and I sure miss it when I move to other parts of the OS.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: osxpounder on May 15, '07 01:25:06PM

Not sure what you mean, but CTRL-Left or CTRL-Right aren't doing anything, for me, that's different than just plain Left or Right.

BTW, when you are saving a file, the Save dialog comes up, and the name of the file is highlighted, a single press of the Right arrow puts the cursor at the end of the name, before the dot that separates it from the file extension.

A simple Left, when that file name is highlighted [which it is by default in most apps when you activate Save As], puts cursor at beginning of file name.

I often use Save As just to get the dialog box, because then a simple CMD-C copies the highlighted name, ready for pasting elsewhere [like, in a readme doc].



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: JimBuckner on May 15, '07 09:31:11AM

If it does not take you to the desired place, keep holding down the option key while pressing the right (or left) arrow key until you arrive at the desired place.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: greenldr on May 15, '07 09:38:13AM

Actually, the easiest way to do what the hint suggests in a filename with multiple words is to hold down ctrl and press the down arrow, and then the right arrow. Ctrl+down arrow takes you to the beginning of the last line and as far as I have seen there is always only one word on the last line, then ctrl+right arrow will move you to the end of that last word and before the .extension.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: digitol on May 15, '07 12:57:21PM

(jokes) Hahhaha. ACTUALLY the EASIEST way is to strike a pose in the downward dog crane position, then with your fingers on the keyboard do about an Octave measure.. while holding command, key down, then press the arrow keys in this order up up down down left right left right, select, start, and whatever you do forget about the mouse, after all...Xerox corporate laughed at the mouse...what would anybody want with that. :) heh.



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: giulio on May 16, '07 07:19:24AM

up up down down left right left right B A select start. (30 lives in contra, original NES)

---
Freelance web development
WebVeteran.com



[ Reply to This | # ]
A shortcut to help with file renaming
Authored by: sipatel on May 27, '07 08:49:01PM

If you want to move from the start to the end and vice versa, you don't need ANY modifier keys, just the up or down arrow keys does this.

This feature also existed in System 9 and I've been using it for donkeys years.



[ Reply to This | # ]
No Option Key Needed
Authored by: googoo on May 15, '07 07:32:31PM

You do not need to press the option key. Click on the file to select it. Press enter (or return), and the rename input box comes up with the entire filename selected. Pressing the right arrow moves the cursor to the right of the selection (the end of the filename), or pressing the left arrow moves the cursor to the left of the selection (the beginning of the filename).

-Mark



[ Reply to This | # ]