Last active
July 7, 2020 09:28
-
-
Save goranmoomin/8062ae6c2ebaecbe0e6b6e321d6fbc14 to your computer and use it in GitHub Desktop.
Xcode remove `//__FILEHEADER__`
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
#!/bin/bash | |
grep -l FILEHEADER -R /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates | grep -v plist | while IFS= read -r file | |
do | |
sudo sed -i '' '/\/\/___FILEHEADER___/d' "$file" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment