for file in ./* ; do mv "$file" "$(echo $file|sed -e 's/([A-Z])/_L1/g' -e 's/^./_//')" ; done
参考:
https://askubuntu.com/questions/844738/rename-all-files-in-a-folder-from-camel-case-to-lowercase-and-put-underscore-to
for file in ./* ; do mv "$file" "$(echo $file|sed -e 's/([A-Z])/_L1/g' -e 's/^./_//')" ; done
参考:
https://askubuntu.com/questions/844738/rename-all-files-in-a-folder-from-camel-case-to-lowercase-and-put-underscore-to