find 批量修改文件后辍名

find . -name "*.txt" -exec sh -c 'mv "$0" "${0%.txt}.predict"' {} ;

posted @ 2024-10-02 16:09  马肯尼煤牙巴骨  阅读(11)  评论(0)    收藏  举报