#!/bin/bash

# Strip .tpl off filenames
find . -name '*.tpl' | xargs -I__S__ bash -c 'ORIG_NAME=__S__; mv ${ORIG_NAME} ${ORIG_NAME%.tpl}'
