SVN rename all your CakePHP views from thtml to ctp

May 28th, 2008  |  Published in Uncategorized

SVN rename all your CakePHP views from thtml to ctp

for file in `find . -name "*.thtml"` ; do svn mv $file `echo $file | sed s/\.thtml/\.ctp/` ; done

(Via Coding My Thoughts.)

Leave a Response