Created
December 4, 2014 10:14
-
-
Save mbigatti/98ce94262a10f26afbed to your computer and use it in GitHub Desktop.
Archive and delete multiple 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
zip $(date +%Y%m%d) *.log*; rm -f *.log* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment