My “trick” with this is to mv files I’m very sure I want to be “deleting” into /tmp . If it instantly turns out to be a mistake, I can pull it back. Else, it gets purged on reboot.
This is usually A-okay for my home server since it reboots so rarely! A desktop machine might give you a little less time to reconsider. But it at least solved the “trash is using 45% of my hard disk now” issue haha.
In the very worst case scenario there’s the “Drop everything and run photorec / testdisk” as a last resort!
My “trick” with this is to mv files I’m very sure I want to be “deleting” into
/tmp
. If it instantly turns out to be a mistake, I can pull it back. Else, it gets purged on reboot.This is usually A-okay for my home server since it reboots so rarely! A desktop machine might give you a little less time to reconsider. But it at least solved the “trash is using 45% of my hard disk now” issue haha.
In the very worst case scenario there’s the “Drop everything and run photorec / testdisk” as a last resort!