=head1 USAGE
Simply run this script in directory where you want files and/or
-directorires to be renamed.
+directories to be renamed. Directories are not transliterated by
+default, but you can use FORCE_DIR=1 environment variable.
=head1 OVERVIEW
foreach (sort readdir DIR) {
# Skip directory itself
next if /^\.{1,2}$/;
- next if -d;
+ next if -d and not $ENV{FORCE_DIR};
$src_filename = $_;
$src = decode "utf-8", $src_filename;