File Deletion Safety

Discussions center on risks and methods of permanently deleting files, including rm -rf dangers, trash vs. direct removal, shredding, and OS-specific behaviors like MacOS limitations.

📉 Falling 0.5x DevOps & Infrastructure
2,849
Comments
20
Years Active
5
Top Authors
#8494
Topic ID

Activity Over Time

2007
3
2008
6
2009
27
2010
64
2011
115
2012
89
2013
121
2014
103
2015
112
2016
172
2017
177
2018
146
2019
186
2020
193
2021
203
2022
279
2023
299
2024
280
2025
250
2026
26

Keywords

e.g AI archive.org file.txt UNLINK JavaScript SOMETHING DEL HOME i.e delete files rm file trash deleting dialogue del deleted clean

Sample Comments

josch Aug 30, 2011 View on HN

I would love to be able to remove a (huge) file without going through the trash can.

RickSanchez2600 Oct 31, 2018 View on HN

It deletes files, they have to postpone it until they can fix that.

immibis Sep 17, 2024 View on HN

Do you feel bad about the file you're deleting?

na85 Aug 24, 2022 View on HN

Is randomly deleting stuff from /usr a big part of your use case?

pjerem Sep 22, 2022 View on HN

Why would they delete files they cannot see without opting to see them ?

sammoth Jul 18, 2017 View on HN

Because developers may need to delete large folders in Windows

da5e May 12, 2010 View on HN

Don't forget to shred a file you want deleted.

gnrlbzik Feb 6, 2015 View on HN

i was wondering about that my self. do not delete folder but ok to delete contents?

chii Nov 17, 2018 View on HN

But when it does, it rm -rf /

eljimmy May 30, 2015 View on HN

So... did anyone else try to rm -fr /?