diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/mvtr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/mvtr b/.local/bin/mvtr index dcea8409..b48dcb20 100755 --- a/.local/bin/mvtr +++ b/.local/bin/mvtr @@ -4,4 +4,4 @@ # link also show perl-rename approach # https://linuxconfig.org/rename-all-files-from-uppercase-to-lowercase-characters # if only change ' ' to '_' `rename` might be sufficient, for upper to lower case might need perl-rename if want concise -find "$@" -depth -exec sh -c 'mv -nvT -- "$1" "$(echo "$1" | tr "[:upper:] " "[:lower:]_")"' sh '{}' \; +find "$@" -depth -exec sh -c 'mv -nvT -- "$1" "$(echo "$1" | tr "[:upper:] " "[:lower:]_")"' shell '{}' \; |