aboutsummaryrefslogtreecommitdiff
path: root/functions/renlow.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/renlow.fish')
-rw-r--r--functions/renlow.fish5
1 files changed, 0 insertions, 5 deletions
diff --git a/functions/renlow.fish b/functions/renlow.fish
index 98b0e4c..1581550 100644
--- a/functions/renlow.fish
+++ b/functions/renlow.fish
@@ -1,10 +1,5 @@
function renlow --description 'Rename all files and directories with lowercase characters'
-if not command -sq 'find'
- echo "Can't find find."
- return 1
-end
-
for file in (find . -type f)
set -l element (string split -r -m1 / $file)
mv $file $element[1]/(string lower $element[2])