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