rename

_ 로 만들어진 파일명을 -로 변경한다.

find . -type f | perl -pe 'print $_; s/_/-/g' | xargs -n2 mv

rename -v -n 's/_/-/g' *

   -v, --verbose
           Verbose: print names of files successfully renamed.
   -n, --no-act
           No Action: show what files would have been renamed.


관련 문서