Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
シェル ユーティリティ mv を使用して、すべての -m.css ファイルの名前を .css に変更するにはどうすればよいですか?
forループを使用します。
for file in *-m.css ; do mv "$file" "${file%-m.css}.css" ; done
使用renameするのはそれほど冗長ではないかもしれません。
rename