Posted By

zingo on 05/28/08


Tagged

php svn cakephp cli


Versions (?)

SVN rename all your CakePHP views from thtml to ctp


 / Published in: Bash
 

URL: http://cricava.com/blogs/index.php?blog=6&title=svn-rename-all-your-cakephp-views-from-t

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.