On 6月21日, 上午2時27分, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > > Will there be a problem if I change the name of a project 'foo' > > created by tg-admin quickstart by only manually going through and > > replacing all cases where 'foo' exists with 'matrix' if 'matrix' is > > the new name of the project I want? > > find . -name "*" | while read f ; do sed s/foo/matrix/g < $f > /tmp/x > ; mv /tmp/x $f ; done > > Don't worry about error messages from sed about a directory being on > the stdin and you might need to set permissions correctly afterwards. > If you are on windows I have no idea what you need to do :) > > HTH, > Daniel
nice shot! I've put this into TG FAQ: http://docs.turbogears.org/FAQ#q-033 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

