[리눅스] 파일 확장자 일괄 변경

  • Post author:
  • Post category:ETC
  • Post comments:0 Comments
find -type f -name '*.html' -exec sh -c 'f="{}"; mv -- $f "${f%.html}.php"' \;
guest
0 Comments
Inline Feedbacks
View all comments