5 lines
134 B
Bash
5 lines
134 B
Bash
|
find guides/ -name "* *" -type f | while IFS= read -r file; do
|
||
|
mv "$file" "${file// /-}"
|
||
|
done
|
||
|
./treer.sh guides/ guides/index.gmi
|