Created
March 6, 2012 12:47
-
-
Save anoopengineer/1986093 to your computer and use it in GitHub Desktop.
Useful but uncommon Linux Commands
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
Recursively deleting all backup files that CVS creates (CVS creates backup files like .#Filename.java.1.1): | |
find ./ -name \.\*|xargs rm -f | |
Recursively changing ownership of CVS checkout | |
find ./ -name Tag | xargs sed -i -e "s/old_username/new_username/" | |
Recursively removing tabs from source files: | |
find . -name *.java -exec sed -ie 's/<Ctrl V and then a TAB>/ /g' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment