4 lines
156 B
Bash
Executable file
4 lines
156 B
Bash
Executable file
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
|