find wallpapers/ -name "* *" -type f | while IFS= read -r file; do mv "$file" "${file// /-}" done ./treer.sh wallpapers/ wallpapers/index.gmi