Skip to content

Instantly share code, notes, and snippets.

@tarsisazevedo
Created June 28, 2011 14:55
Show Gist options
  • Save tarsisazevedo/1051309 to your computer and use it in GitHub Desktop.
Save tarsisazevedo/1051309 to your computer and use it in GitHub Desktop.
editar arquivos na linha de comando
grep -R 'o_que_voce_quer_modificar' . | cut -d: -f1 | sort -u | xargs sed 's/o_que_voce_quer_modificar/o_que_voce_quer_colocar_no_lugar/' -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment