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 | |
| function show_usage { | |
| cat <<- _EOF_ | |
| Search Bash History using Grep and Percol | |
| Examples: | |
| $ h ssh | |
| $ h 'ssh user@' |
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 remove all .svn directories | |
| find . -name .svn -print0 | xargs -0 rm -rf |
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 SVN files from any folder | |
| rm-svn-files() { | |
| find "$1" -name *.svn | xargs rm -rf | |
| } |
NewerOlder