rename 's/\s/_/' * <---------- 우분투에서...


또는


rename " " "_" *  <----------  페도라에서...


-----------------------------------------------------------

       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/' *




출처 : http://www.ylabs.co.kr/index.php?document_srl=6341&mid=board_centos

블로그 이미지

mind10

,