/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find "$PWD" -name '*.less' | while read line; do REPLACE=`echo $line | sed "s|\.less|\.css|"` # echo "$line --> $REPLACE" (lessc "$line" "$REPLACE" &) done