Last active
October 26, 2018 11:08
-
-
Save nugmanoff/9064fd328f24c155126ebaaaa9bd3462 to your computer and use it in GitHub Desktop.
Script for cleaning up directory from executables generated by gcc & jvm compilers
This file contains 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 | |
find <working directory> -type f \( -name "*.class" -o ! -name "*.*" \) -exec rm {} + | |
## or | |
find <working directory> -type f \( -name "*.class" -o ! -name "*.*" \) -exec rm {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment