1: perl -e 'opendir(DIR, "."); map ((rename $_, lc($_)), readdir(DIR)); closedir DIR;'
Comment on
Solving 'the all uppercase name syndrome' problem
Download
Code
Replies are listed 'Best First'.
RE: Solving 'the all uppercase name syndrome' problem
by
takshaka
(Friar)
on Apr 28, 2000 at 04:49 UTC
I like to let the shell get the list of files for me (and also make sure I don't overwrite existing files on case-sensitive filesystems).
perl -e '!-e lc && rename $_, lc for @ARGV' *
[reply]
[d/l]
Back to
Craft