On Tue, 23 Jul 2013 16:05:47 +0100 (BST) (Ted Harding) Ted.Harding@wlandres.net wrote:
[***] My fallback for config files which might get over-written is (after modifying the file) to make a copy in the same directory called something like "xxxx.cfg.bak"; then when I want to put it back simply do
cp xxxx.cfg.bak xxxx.cfg
And, in case it might be needed, I save the original (prior to modification) as
cp xxxx.cfg xxxx.cfg.orig
Best wishes to all, Ted.
Thanks for the idea Ted.
I always wonder when I do an upgrade how many of the files I've hacked around will be deleted as part of the upgrade. Now, following your suggestion I can search for filenames like the above and check for changes.