批量修改Linux下文件名


2019-03-05 08:40:20 by Sikoay with 0 comments 1 Hits
Blog 1
find . -name "*.log" | while read file; do mv $file $(echo $file|sed s/log$/txt/g); done
Tags:

回复 (0)

Leave a Comment