Hi,

>> +echo Remove unwanted html templates
>> +find site -name "*.html" | xargs grep '{%.*%}' -l | xargs rm

Nice didn’t think of doing it that way, I had forgotten about xargs

I would normally do:
find site -name "*.html" -exec rm {} \;

Or  even:
find site -name “*.html” -delete

Thanks,
Justin

Reply via email to