[ale] echo filename (without extension)

Jason Day jasonday at worldnet.att.net
Wed Dec 18 15:22:20 EST 2002


On Tue, Dec 17, 2002 at 04:53:21PM -0500, Christopher Bergeron wrote:
> Also: does anyone have a quick one or two liner that can convert all 
> filenames in a dir to lowercase?

for i in *; do mv $i `echo $i | tr '[A-Z]' '[a-z]'`; done
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list