Skip to content

Instantly share code, notes, and snippets.

@ibrow
Created August 28, 2010 10:07
Show Gist options
  • Save ibrow/554975 to your computer and use it in GitHub Desktop.
Save ibrow/554975 to your computer and use it in GitHub Desktop.
# When doing some heavy refactoring, you may need to update the package name
# within the code's docs. Snippet below can do this on bulk with grep and sed
grep "@package OldPackageName" ./* -lR --exclude-dir=".svn" | xargs sed -i 's/@package OldPackageName/@package NewPackageName/g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment