View Single Post
Old 03-20-2006, 02:32 PM  
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
The command 'rename' is on the server, but I'm not sure how to write the regexp in this format to get the job done.

Code:
For example, to rename all files matching "*.bak" to strip the extension, you might say

               rename 's/\.bak$//' *.bak

To translate uppercase names to lower, you'd use

               rename 'y/A-Z/a-z/' *
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote