Return to Snippet

Revision: 6539
at May 28, 2008 16:34 by zingo


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

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

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

Initial Title
SVN rename all your CakePHP views from thtml to ctp

Initial Tags
php, svn, cakephp

Initial Language
Bash