for file in *.png; do mv "$file" "${file%.png}_3.6.14.png" done
for file in `find -name "*.old"` ; do mv ${file} ${file%.old}; done;
使用find -exec
find -name "*.pdf" -exec mv {} {}.old ;
参考:
https://stackoverflow.com/questions/24592342/add-suffix-to-all-files-in-the-directory-with-an-extension