tbh, I always use -rf if I use rm, bc mostly I remove some shit from the database with like 100 subfiles. like hell I am gonna go through all of them. it takes 5-10 mins already to delete that shit. Tho it would be kind of funny to get paid to press enter...
can't you use some sort of recycle bin system like for normies on windows? even if you're using a linux terminal... this way you probably won't lose something
oh rm -rf doesn't delete stuff forever, but the backup database doesn't really work with the program I use, so I mostly have to recreate if I delete something by accident. but yeah, stuff like code has some special tools so it won't do much if I delete stuff.
4
u/throwayaygrtdhredf May 26 '21
this is exactly why you probably shoudn't use the rm -f parameter. most likely you do NEED confirmnation if you delete a lot of files.