Sostituire una stringa

Per sostituire ricorsivamente una stringa in tutti i file e le sottodirectory:
find . -type f|xargs perl -pi -e “s/VECCHIASTRINGA/NUOVASTRINGA/g;”

This entry was posted in Tecnico. Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>