Saturday, September 23, 2023
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 10280  / 1 Year ago, tue, july 5, 2022, 3:58:25

I have files ending in ~ in my home directory, and I want to delete them. How do I do that? How do I prevent this backup functionality?


More From » backup

 Answers
3

You can simply run rm *~ if you're sure there is no other file that you need which ends in ~



If it is gedit that is creating the backup files, you can open gedit and select Edit->Preferences->Editor and uncheck the option "Create a backup copy of files before saving"



And for nano, look in /etc/nanorc for:



## Backup files to filename~.
set backup


and change that to



## Backup files to filename~.
# set backup

[#30423] Wednesday, July 6, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
singerrupt

Total Points: 435
Total Questions: 111
Total Answers: 109

Location: Angola
Member since Tue, May 5, 2020
3 Years ago
singerrupt questions
;