Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204466

Re: backintime

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: backintime
Date 2019-01-16 21:40 +0100
Message-ID <xh08F-2Go-5@gated-at.bofh.it> (permalink)
References <xgWHL-vM-3@gated-at.bofh.it> <xgYgy-1yo-15@gated-at.bofh.it> <xgYTg-211-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 16 January 2019 14:17:04 Dan Ritter wrote:

> Gene Heskett wrote:
> > On Wednesday 16 January 2019 11:59:39 Gene Heskett wrote:
> >
> > Anybody else have a suggestion for a live backup for working on a
> > 600 line file?
>
> How live do you need it to be?
>
> Option 1: totally manual. If there's only one or a few files,
> this works well.
>
> $ cp foobar.txt foobar.txt.20190116; edit foobar.txt
But is a load of typu inducing typing, needs to be a script, one simple 
name, saveit maybe
>
> Option 2: version control system.
>
>   Setup:
>     git init
>     git add foobar.txt
>
>   Working:
>     edit foobar.txt
>     git commit foobar.txt -m "drew a new line"
>
>   Review:
>     git status foobar.txt
>     git log foobar.txt
>
git work nice, until you want to save..

> Option 3: you already use vim, right?
>     https://github.com/thaerkh/vim-workspace
>
> Option 4: you already use emacs, right?
>     https://www.emacswiki.org/emacs/AutoSave
>
> Option 5: you like using gedit, right?
>     preferences => editor  ; turn on autosave, specify the
>     period
>
> Option 6: you like using geany, right?
>     https://www.geany.org/manual/current/index.html#id232

I don't have any save-as options, just a save-as I can rename. I'd much 
druther it timestamped the version loaded, but saved the regular to the 
original nane. I missing a plugin?
>
>
> This is not an exclusive list.
>
> -dsr-


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

backintime Gene Heskett <gheskett@shentel.net> - 2019-01-16 18:00 +0100
  Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-16 19:40 +0100
    Re: backintime Dan Ritter <dsr@randomstring.org> - 2019-01-16 20:20 +0100
      Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-16 21:30 +0100
      Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-16 21:40 +0100
        Re: backintime Dan Ritter <dsr@randomstring.org> - 2019-01-16 22:00 +0100
          Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-16 22:20 +0100
  Re: backintime Andy Smith <andy@strugglers.net> - 2019-01-16 23:20 +0100
    Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-17 02:10 +0100
      Re: backintime Andy Smith <andy@strugglers.net> - 2019-01-17 02:30 +0100
        Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-17 02:30 +0100
  Re: backintime David Wright <deblis@lionunicorn.co.uk> - 2019-01-18 01:00 +0100
    Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-18 01:20 +0100
  Re: backintime David Christensen <dpchrist@holgerdanske.com> - 2019-01-18 03:40 +0100
    Re: backintime Erik Christiansen <dvalin@internode.on.net> - 2019-01-18 04:40 +0100
      Re: backintime Jonathan Dowland <jmtd@debian.org> - 2019-01-18 11:40 +0100
        Re: backintime Andy Smith <andy@strugglers.net> - 2019-01-19 11:10 +0100
          Re: backintime David <bouncingcats@gmail.com> - 2019-01-19 16:00 +0100
            Re: backintime Rusi Mody <rustompmody@gmail.com> - 2019-01-21 06:30 +0100
              Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-21 08:10 +0100
                Re: backintime Jonathan Dowland <jmtd@debian.org> - 2019-01-21 19:10 +0100
      Re: backintime David Christensen <dpchrist@holgerdanske.com> - 2019-01-19 05:50 +0100
  Re: backintime Rusi Mody <rustompmody@gmail.com> - 2019-01-18 06:50 +0100
    Re: backintime Gene Heskett <gheskett@shentel.net> - 2019-01-18 09:20 +0100

csiph-web