Wednesday, 17 June 2009

Linux - bash (2)

檔案名稱由大楷轉小楷 :

for i in `ls`
do mv $i `echo $i | tr '[A-Z]' '[a-z]'`
done

No comments:

Post a Comment