So I'm trying to do a Shell Script (.sh) on my mac, but I'm having a hard time... So for each file I would like to make a copy of it and convert it into another type (.less to .css). I know how to do that already:
lessc fileToConvert.less destinationOfConvertedFile.css
now my problem is to integrate that into a loop (loop all the files of a folder). I tried that but nothing seems to work:
alias proj="cd /Users/maxwell/Documents/WebStorm"
for /D /r %%G in * DO Echo We found %%G
I tried that as a test, but even that is not working. Any ideas?