mktar: Use `wc` instead of `du` in summary message
[sunny256-utils.git] / filenamelower
blobf202c344805f89b488b34030acf65018176adfb0
1 #!/usr/bin/env bash
3 #=======================================================================
4 # filenamelower
5 # File ID: eb295092-badb-11de-a441-00248cd5cf1e
6 # Renames files to lower case
7 #=======================================================================
9 # FIXME: Take care of those damn spaces, semicolons, etc in file names.
11 for f in "$@"; do
12 mv -vi "$f" "`echo $f | tolower`";
13 done