LoginSignup
5
4

More than 5 years have passed since last update.

[awk]大文字交じりのファイル名を小文字に変換する

Last updated at Posted at 2015-03-07

ファイル名に大文字小文字混じってるの困る。

ls | awk '{print "mv -vf", $1, tolower($1)}' | sh

Windowsではgawkを使う

gawk

dir /B | gawk "{print \"ren\", $1, tolower($1)}" | cmd

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4