Add README and enhance cleanup script with additional cache cleaning steps

This commit is contained in:
Laszlo Uyttersprot
2026-01-26 17:21:48 +01:00
parent 91b777ebf4
commit 16e77aaf92
2 changed files with 18 additions and 3 deletions

1
README.md Normal file
View File

@@ -0,0 +1 @@
CommunityExtensions::STL::Exporter.export("C:/users/rankzy/Documents/export.stl", Sketchup.active_model.active_entities, {'selection_only' => false, 'export_units' => 'Model Units', 'stl_format' => 'ASCII'})

View File

@@ -2,6 +2,16 @@
# Arch Linux cleanup + update script # Arch Linux cleanup + update script
set -euo pipefail set -euo pipefail
echo "==> Cleaning leftover downloads..."
sudo rm -rf /var/cache/pacman/pkg/*.part
sudo rm -rf /var/cache/pacman/pkg/download-*
echo "==> Cleaning package cache..."
yay -Sc --noconfirm
echo "==> Cleaning user cache..."
sudo rm -rf ~/.cache/*
echo "==> Updating packages..." echo "==> Updating packages..."
yay -Syu --noconfirm yay -Syu --noconfirm
@@ -11,15 +21,19 @@ yay -Yc --noconfirm
echo "==> Checking for broken packages..." echo "==> Checking for broken packages..."
yay -Dk yay -Dk
echo "==> Cleaning leftover downloads..."
sudo rm -rf /var/cache/pacman/pkg/*.part
sudo rm -rf /var/cache/pacman/pkg/download-*
echo "==> Cleaning package cache..." echo "==> Cleaning package cache..."
yay -Sc --noconfirm yay -Sc --noconfirm
echo "==> Cleaning user cache..." echo "==> Cleaning user cache..."
rm -rf ~/.cache/* sudo rm -rf ~/.cache/*
echo "==> Emptying trash..." echo "==> Emptying trash..."
rm -rf ~/.local/share/Trash/files/* sudo rm -rf ~/.local/share/Trash/files/*
rm -rf ~/.local/share/Trash/info/* sudo rm -rf ~/.local/share/Trash/info/*
echo "==> Cleaning system logs..." echo "==> Cleaning system logs..."
sudo journalctl --vacuum-time=7d sudo journalctl --vacuum-time=7d