Files
lk/system/clean_your_downloads.md
2025-08-22 16:18:28 +02:00

453 B

title, tags
title tags
Clean Your Downloads
system
tmpfs

'Downloads` directory always too full of crap? Make it a temporary filesystem! Everything will be deleted whenever you reboot.

rm -rf ~/Downloads # Be brave!
mkdir Downloads
cp /etc/fstab /tmp/
echo "tmpfs $HOME/Downloads tmpfs defaults,size=1G 0 0" | sudo tee -a /etc/fstab
sudo systemctl daemon-reload # Ignore this if you don't use systemd
sudo mount -a
mount | tail -1