RobRich999
About
- Username
- RobRich999
- Joined
- Visits
- 1
- Last Active
- Roles
- Member
- Points
- 3
-
v1.707
Cleanup logs older than one day:
sudo journalctl --vacuum-time=1d
If desired manually delete old archived logs and rotated logs:
sudo find /var/log -type f -regex ".*\.gz$" -delete
sudo find /var/log -type f -regex ".*\.[0-9]$" -delete
Local Git repo cleanup and compress deltas:
sudo -i
cd /root/Beagle_SDR_GPS/
git clean -ffd
nice -n 19 git gc --force --prune=all
The git gc housekeeping takes awhile to run. Use nice to set a low priority if running on an active Kiwi server. You can add --aggressive to git gc if really adventurous, but it could take a very long time to run. YMMV.
Cleanup local APT cache:
sudo apt clean
Usually I end up with around 800MB+ free on my KiwiSDR 2.