#!/bin/bash
for i in *.php *.js *.txt 
do
  echo $i
  cat $i | sed "s/'utf-8'/'windows-1251'/" | iconv -f utf-8 -t cp1251 > ../PostcalcLight1251/$i
done
