🧀 Learn Linux

進階 · 整理檔案

rename:按表達式批量改名

語法

rename 表達式 檔案…

範例

rename "s/\.txt$/.md/" *.txt

使用說明與支援範圍

僅供手冊查閱

完整文檔 ↗

同主題指令