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


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.