SVN rename all your CakePHP views from thtml to ctp


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. for file in `find . -name "*.thtml"` ; do svn mv $file `echo $file | sed s/\.thtml/\.ctp/` ; done

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.