Posted By

zingo on 05/28/08


php svn cakephp cli

Versions (?)

SVN rename all your CakePHP views from thtml to ctp

 / Published in: Bash


Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.

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

Report this snippet  

You need to login to post a comment.