dots icon indicating copy to clipboard operation
dots copied to clipboard

Manage removed files

Open evanpurkhiser opened this issue 10 years ago • 0 comments

If we assume that the users source configuration directory is under source control ($HOME/.local/etc) then we can keep track of what global version of files have been installed. This would allow us to keep track of what files have been removed since the last configuration install.

So for example when calling the dots install command with no given path we could write a file called config-version to $XDG_CONFIG_HOME. Then during the next install we could look at that version and compare it with the current version of the source configuration files. We could then see what files have been removed and remove those from the installed dotfiles directory.

evanpurkhiser avatar Dec 18 '13 15:12 evanpurkhiser