On Sat, 2007-11-03 at 16:30 +0900, Kevin Shackleton wrote:
> suggestions to rename multiple files in a single directory to individual
> shorter names?
Hey Kevin,
The tool you want is 'rename'. It lets you rename a set of files using a
PCRE to determine the new file name. For example, to do what you've
suggested you could use something like this:
rename 's/^proj1//' *
The manual page has some other useful examples.
HTH,
James.
--
James Gregory -- http://codelore.com -- [EMAIL PROTECTED]
Sponsor me for Movember! http://www.movember.com/au/donate/
Registration number: 117052
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html