/ Published in: Bash
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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