mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-22 06:51:54 +01:00
9 lines
163 B
Bash
Executable File
9 lines
163 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -uo pipefail
|
|
|
|
# Delete logs older than 7 days
|
|
sudo journalctl --vacuum-time=7days
|
|
|
|
# Delete other archived log files
|
|
sudo rm /var/log/*.gz
|