How to prevent backup file creation (kate & kwrite)
Hi gyus!
I got tired to delete a tons of backups that created with text editors (filename with ~ append). How to disable this behavoir? I searched through editors settings: nothing found about... Thanks in advance. |
I did a quick google (I'm sure you did, too), and it appears that
there are no such settings for either program. Why don't you a) use a more customisable editor, like e.g. vim, or b) just automate the removal of the back-ups? Slap this in your crontab Code:
0 */3 * * * /bin/find /home/user -name \*~ -exec /bin/rm {} \; Cheers, Tink |
Thanks for the reply!
Removing backups with script is the same way as deleting by hand. I want to prevent backups creation. And I thinking its possible: when I loading from liveUSB (Linux Mint 12 KDE), no backups created on files editing with kate or kwrite. |
What version of Kate? I just tried it with v3.4.5 and found the option to disable the automatic saving in about 15 seconds.
Settings > Configure Kate > Editor Component > Open/Save > Advanced Uncheck the box next to local files under "Backup on Save" I don't use Kate, so I don't know if it would be available on yours...maybe it's a new option you don't have, or an old option that has been removed. |
The same 3.4.5 here. Really it works with kate as well as with kwrite.
Its my mistake, can't discover this checkbox. May be a time to buy a glasses :) Thanks a lot! |
All times are GMT -5. The time now is 03:47 AM. |