分类:
2008-05-10 13:23:56
|
#cvlc.sh cvitem() { echo"mv$1`dirname$1`/`basename$1|tr\ 'ABCDEFGHIJKLMNOPQRSTUVWXYZ''abcdefghijklmnopqrstuvwxyz'`" } [$#=0]&&{echo"Usage:lcdiritem1item2...";exit;} foritemin$* do ["`dirname$item`"!="`basename$item`"]&&{ [-d$item]&& { forsubitemin`ls$item` do cvlc$item/$subitem done } cvitem$item } done #(End) |