#!/bin/bash
# FileName: Clear_BOM.sh
# Author: Shuhui

# 网站目录
DOCUMENT_ROOT='/data/website/preview/'

grep -r -I -l $'^\xEF\xBB\xBF' ${DOCUMENT_ROOT} |xargs sed -i 's/^\xEF\xBB\xBF//'
