mv: fish functions

This commit is contained in:
2026-09-30 16:51:03 +02:00
parent b3f3902737
commit 758b6886bd
17 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
if test -z "$argv[1]"
set dir '.'
else
set dir "$argv[1]"
end
for i in (find "$dir" -maxdepth 1 -type d )
set b (find "$i" -type f| wc -l)
printf "%d/%s\n" $b (basename "$i")
end | sort -nr | column -ts/