medit are two text editors that I know of that allow me to save a backup. So, if I create a file called
temp.txt the next time I edit it and then save it, I'll have a backup called
My question is this: is there a text editor that allows me to have backups named in a serial fashion so that I can have more than just the one backup in case I want to go back to the file as it existed a few revisions ago? For example, I'd have
temp.txt as the latest version and
If that is not possible, is there some script that will automatically rename a backup each time it is created so that serial versions are retained? Even a
temp.timestamp.txt would be great.
(I don't mind a solution using
nano as the text editor.)
I should clarify that I'm not a coder or programmer. I just want to have previous versions of text files that I edit. These text files maybe
.svgfiles that form part of a theme. So if I edit some aspect of a theme's file, I can go back a bit in case I don't like a change I made.