configs/arch-config/scripts/clean-trash.sh

15 lines
270 B
Bash
Raw Normal View History

#!/bin/bash
2020-10-12 07:15:20 +02:00
set -euo pipefail
2020-11-17 21:18:37 +01:00
if [ -d "$HOME/.local/share/Trash" ]; then
rm -rvf "$HOME/.local/share/Trash"
fi
if [ -d "/mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/.Trash-1000/" ]; then
rm -rvf /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/.Trash-1000/
fi
exit 0