Created
May 25, 2017 19:49
-
-
Save xtornasol512/25ddcdbd8902f69faac1426a6f9416c3 to your computer and use it in GitHub Desktop.
Pro Tip Commands Linux
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
# Look for certain files then get the size of everithng finding on current dir | |
find . -name "*lua*" -type f -exec du -ch {} + | grep total$ | |
# Look for files with a patron on a current dir | |
find . -name "*lua*" -type f | |
# Delete all files find them with a patron | |
find . -name "*lua*" -type f -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment