Created
November 21, 2015 04:21
-
-
Save ifnull/5ff41b4a955895db8c64 to your computer and use it in GitHub Desktop.
Cleanup recovered Git repo
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
# Remove ".txt" extension from filename recursively | |
find . -name "*.txt" -exec rename -v 's/\.txt$//i' {} \; | |
# Delete all ".html" files | |
find . -name "*.html" -type f -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment