Created
August 10, 2015 13:04
-
-
Save hhanesand/400ec006310cfa93f79d to your computer and use it in GitHub Desktop.
Delete first 8 lines of a file with extension. Useful for deleting the copyright comments that xcode generates. In this case the NH is the file prefix and .h and .m are the accepted extensions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -regextype posix-extended -regex '.*?/NH.*?\.(h|m)' -exec sed -i -e '1,8d' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment