News for hackers. Stuff that matters.
Re:Cowork: Claude Code for the rest of your work by NewsaHackO on Monday January 12, 2026 @04:53PM (#46594809)
I mean, I'm pretty sure it would be trivial to tell it to move files to the trash instead of deleting them. Honestly, I thought that on Windows and Mac, the default is to move files to the trash unless you explicitly say to permanently delete them.
Re:Cowork: Claude Code for the rest of your work by johnisgood on Monday January 12, 2026 @05:27PM (#46595106)
Because it is the default. Heck, it is the default for most DEs and many programs on Linux, too.
Re:Cowork: Claude Code for the rest of your work by fuzzy2 on Tuesday January 13, 2026 @07:03AM (#46599915)
Yes, it is (relatively, [1]) trivial. However, even though it is the shell default (Finder, Windows Explorer, whatever Linux file manager), it is not the operating system default. If you call unlink or DeleteFile or use a utility that does (like rm), the file isn’t going to trash.

[1]: https://github.com/arsenetar/send2trash (random find, not mine)