TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BOB PROHASKA
from: CHRIS GREEN
date: 2020-12-06 09:19:00
subject: Re: Which dotfiles are wo

bob prohaska  wrote:
> In getting ready to try the latest "full-upgrade" for RaspiOS
> I decided to save a copy of my home directory on another machine,
> just in case the upgrade goes wrong.
>
> It turns out to be a fairly big job, mostly because of dotfiles.
>
> Is there any simple rule of thumb for cleaning up before backing up?
> I'd like to avoid destroying useful things (saved login credentials)
> that notes and memory might not record accurately. The rest can go.
>
Well, in genral, anything in ~/.config and/or files that have a .conf
or .cfg suffix are configuration files for programs you have installed
so are worth keeping if you want to keep your configurations.

Files in .cache directories or with similar suffix are cache files and
just preserve state to speed things up a little so can usually be
discarded.

Then there are .login, .profile, .bashrc, .bash which are
your login and shell environment and configuration.  If you have
changed them you probably want to preserve them.


However, having said all that, I'd recommened copying the whole of
/home out to a backup and then copying it back in after the upgrade.
Restoring cache files won't do any harm.

--
Chris Green
ยท

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.