Bash-Based Recycle Bin: Auto-Clean Old Files After 30 Days
Instead of permanently deleting files with rm, I’ve started using a lightweight “recycle bin” system in Bash. Here’s how it works:
Files are moved to ~/30_day_recycle_bin/ using a simple shell function
A script called hoover_rubbish.sh runs occasio...
rh-scripts.hashnode.dev2 min read