Created
March 10, 2023 12:28
-
-
Save juliarose/d9134b4222a71581c3d37acd97239d06 to your computer and use it in GitHub Desktop.
Deletes all files matching ".log" in current directory
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/sh | |
find . -type f -name "*.log*" -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment