Skip to content

Instantly share code, notes, and snippets.

Last active February 28, 2016 21:15
What would you like to do?
Batch rename package in all .java files with find and sed
find . -type f -name "*.java" -exec sed -i "s/package oldPackage/package newPackage/" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment