Bash Script to replace deprecated Joomla DS
##replace text within files
for i in `find .`
do
## ".DS." to /
sed -i 's/\"\.DS\.\"/\//g' $i
## DS." to "/
sed -i 's/DS\.\"/\"\//g' $i
## ".DS to /"
sed -i 's/\"\.DS/\/\"/g' $i
## '.DS.' to /
sed -i 's/'\''\.DS\.'\''/\//g' $i
## DS.' to '/
sed -i 's/DS\.'\''/'\''\//g' $i
## '.DS to /'
sed -i 's/'\''\.DS/\/'\''/g' $i
done

