Created
November 22, 2018 09:47
-
-
Save lafeber/e99b87edc8a9650300cf3b47ddc3be6a to your computer and use it in GitHub Desktop.
Recursively empty log files.
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
find . -type f -name "*.log" -exec dd if=/dev/null of={} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment