Linux Ubuntu [Ubuntu] 使用 rename 大量修改檔案副檔名 將目錄下副檔名為 foo 的檔案全部修改副檔名為 bar 1 rename 's/\.foo$/\.bar/' * Copy