>> for i in `find /var/www -name \*.html' -o -name '*.css' -o -name '*.js'`;
>> do
>> gzip -c -9<  $i>  $i.gz
>> done
>>
>> Would work for most people.
>>
>> -- Bye, Peter Korsgaard

Hi

IMHO that would be a job for a Makefile, not the server in any case.
It being made for acting when source files are newer than the resulting ones.

Sample attached, HTH.

- Lauri


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Attachment: Makefile
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to