#! /bin/sh

for i in `ls *.rail`
do
  file_name=`basename $i .rail`
  mv $i $file_name".org"
done
