Re: How do I trace changes in configuration files?

2019-05-02 Thread Lee
On 5/2/19, David Wright wrote: > On Thu 02 May 2019 at 12:12:19 (-0400), Lee wrote: >> On 5/1/19, David Wright wrote: >> > >> > As for finding where the information went, I sometimes use >> > # find /boot /etc /home /lib /lib64 /var -type f -mmin -1440 -print | >> > less # >> > one day >> > but

Re: How do I trace changes in configuration files?

2019-05-02 Thread David Wright
On Thu 02 May 2019 at 12:12:19 (-0400), Lee wrote: > On 5/1/19, David Wright wrote: > > > > As for finding where the information went, I sometimes use > > # find /boot /etc /home /lib /lib64 /var -type f -mmin -1440 -print | less # > > one day > > but changing 1440 to something more appropriate,

Re: How do I trace changes in configuration files?

2019-05-02 Thread Lee
On 5/1/19, David Wright wrote: > > As for finding where the information went, I sometimes use > # find /boot /etc /home /lib /lib64 /var -type f -mmin -1440 -print | less # > one day > but changing 1440 to something more appropriate, like 10 (mins). You can use "find -newer" and not have to

Re: How do I trace changes in configuration files?

2019-05-02 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David Wright wrote: > On Wed 01 May 2019 at 18:43:47 (+0200), Erik Josefsson wrote: >> Den 2019-05-01 kl. 13:29, skrev Dan Purgert: >>> [...] >> > Or you can use a revision tool. I ran across "rcs" a few years ago, and >> > while it's not something

Re: How do I trace changes in configuration files?

2019-05-02 Thread Andy Smith
Hi Erik, On Wed, May 01, 2019 at 11:35:48AM +0200, Erik Josefsson wrote: > I have tried to document my personal preferences before, but I have always > ended up with unreadable handwritten notes. > > This time I thought I should do it in a more systematic way by somehow > capture the difference

Re: How do I trace changes in configuration files?

2019-05-01 Thread David Wright
On Wed 01 May 2019 at 18:43:47 (+0200), Erik Josefsson wrote: > Den 2019-05-01 kl. 13:29, skrev Dan Purgert: > > Erik Josefsson wrote: > > > I'm trying to learn how to set up my two Teres laptops so that they are > > > identical. > > > > > > [...] > > > > > > I have tried to document my personal

Re: How do I trace changes in configuration files?

2019-05-01 Thread Jude DaShiell
One thing I like to do whenever using vim and vim-clones is to use the +1 parameter on the command line since when the file opens I'm in a predictable location. --

Re: How do I trace changes in configuration files?

2019-05-01 Thread Joe
On Wed, 1 May 2019 18:43:47 +0200 Erik Josefsson wrote: > Den 2019-05-01 kl. 13:29, skrev Dan Purgert: > > > Thanks Dan, I'll start with that method and maybe later I'll try > Jonas' proposal with etckeeper and git. > > But first, in which top level directories could files that change be >

Re: How do I trace changes in configuration files?

2019-05-01 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erik Josefsson wrote: > Den 2019-05-01 kl. 13:29, skrev Dan Purgert: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Erik Josefsson wrote: >>> I'm trying to learn how to set up my two Teres laptops so that they are >>> identical. >>> >>>

Re: How do I trace changes in configuration files?

2019-05-01 Thread Erik Josefsson
Den 2019-05-01 kl. 13:29, skrev Dan Purgert: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erik Josefsson wrote: I'm trying to learn how to set up my two Teres laptops so that they are identical. [...] I have tried to document my personal preferences before, but I have always ended up with

Re: How do I trace changes in configuration files?

2019-05-01 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erik Josefsson wrote: > I'm trying to learn how to set up my two Teres laptops so that they are > identical. > > [...] > > I have tried to document my personal preferences before, but I have > always ended up with unreadable handwritten notes. > >

Re: How do I trace changes in configuration files?

2019-05-01 Thread Jonas Smedegaard
Quoting Erik Josefsson (2019-05-01 11:35:48) > So, is there a way to trace/record/capture changes in all > configuration files? > > The idea is then to just replace the default configuration files with > the files where my preferences have been saved. Install package etckeeper to track files

How do I trace changes in configuration files?

2019-05-01 Thread Erik Josefsson
I'm trying to learn how to set up my two Teres laptops so that they are identical. I have now repeated the [first steps] a couple of times so that I feel that I know what I am doing (I don't necessarily understand what I am doing though). I have two identical machines that run from two