|
|
Rename
|
|
|
|
Grizzled Veteran
Join Date: Feb 2003
Status:
Offline
|
|
OK, it looks like Mac OS X has not the command "rename". Is there some substitute, or should I go ahead and install krename? Any advice?
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Mar 2002
Location: Boston
Status:
Offline
|
|
Are you looking for a terminal rename command or just renaming a file.
If its the latter, just select the file, hit enter and type the new name. If its the former, then use the mv command to rename a file. Just type man mv to learn how to rename it.
If you have photoshop, you can use bridge to rename a single file or a batch files as well.
|
~Mike
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Feb 2003
Status:
Offline
|
|
Originally Posted by Maflynn
Are you looking for a terminal rename command or just renaming a file.
If its the latter, just select the file, hit enter and type the new name. If its the former, then use the mv command to rename a file. Just type man mv to learn how to rename it.
The "rename" terminal command can replace a specified string found in the name of a file (or, of interest to me, a group of files) by another string provided by the user. Extremenly handy when you have to alter in the same way only a part of the filename in a large group of files.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 2002
Location: More Cowbell...
Status:
Offline
|
|
Originally Posted by TETENAL
Really? I actually think typing one short line of text is easier than going through 6 steps and 5 pages of text to accomplish the same thing.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Obviously you create a Finder-Plugin for renaming only once. I would argue that that is easier than compiling a rename command line tool, but to each his own. Do whatever is easer for you.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Nov 2002
Location: More Cowbell...
Status:
Offline
|
|
Originally Posted by TETENAL
Obviously you create a Finder-Plugin for renaming only once. I would argue that that is easier than compiling a rename command line tool, but to each his own. Do whatever is easer for you.
It is a somewhat mute point, as there is no easily available rename (as in, the linux CL command) for OS X. MacPorts has no util-linux package.. though fink may.
OP- depending on what type of batch rename you need to do, a find command or ls along with awk could pretty easily do the trick.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Feb 2003
Status:
Offline
|
|
Originally Posted by MarkLT1
It is a somewhat mute point, as there is no easily available rename (as in, the linux CL command) for OS X. MacPorts has no util-linux package.. though fink may.
Fink provides krename, but it asks for tens more packages to be installed before proceeding to this utility's source code processing. And it seems this comes with a GUI too while I am simply interested in a CL command; I hoped that OS X has some other command to do the same.
EDIT: oops, fink offers also ren; this is probably the command to try first.
(
Last edited by Pierre B.; Jun 3, 2009 at 07:14 AM.
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|