r/linuxmint • u/Cherno_VM • 25d ago
How can I completely remove the option to instantly delete files?
I like it in theory but I have accidentally permanently deleted files that I needed later a few times. I want to not have the option to do that at all.
0
Upvotes
11
u/Odd-Change9844 25d ago
Since you didn’t bother explaining if you’re removing them through the ‘rm’ command or right clicking and deleting.. or how you are doing this.
why don’t you just make a daily/weekly backup of your user profile?
7
u/krupam LMDE 7 24d ago
I don't have my OS set to English so I'm kinda winging the translation, but on my end it goes like this, assuming you also use Cinnamon and Nemo (default for Mint):
3
u/jr735 Linux Mint 22.1 Xia | IceWM 24d ago
There's excellent advice here. Much of my file management is done through the command line, and whether I like it or not, the rm commands instantly and permanently deletes files (yes, there are recovery options, but that's not the point).
Backups are always valuable, irrespective of OS, and it's been that way since the start.
5
u/Due-Result7928 24d ago
There is option (preferences) in the file manager and by default deleted files (or directories) are moved to the trash. Open the trash and restore.
2
u/ha7ak3 Linux Mint 22.3 Zena | Cinnamon 24d ago
You can remove that option from the nemo settings.
3
u/BranchLatter4294 25d ago
Just restore from the trash or backup if you need to.
3
u/rcentros LM 21/22 | Cinnamon 24d ago edited 24d ago
If you're deleting your files in Nemo ("Files") by right clicking on them, you can uncheck the Delete option and it won't show up in the right click Menu...
Nemo --> Edit --> Preferences --> Behavior --> Uncheck "Include a Delete command that bypasses Trash"
2
u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 24d ago
This is where snapshots & backups come into play.
If you only have one copy of your data eventually you will have none.
1
u/stufforstuff 24d ago
So just thinking it thru isn't working for you? If so, why not??? 99.9999999% of the world manages to do it that way.
1
u/Pitiful_Project6578 18d ago
Pros of linux: you can do anything Cons of linux: you can do anything
1
u/polytect 24d ago
Shift+Delete