[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dotfiles



On Tue, Jul 2, 2013 at 5:24 PM, Joel Rees <joel.rees@gmail.com> wrote:
> On Wed, Jul 3, 2013 at 5:48 AM, Hendrik Boom <hendrik@topoi.pooq.com> wrote:
>>

>
>>
>> And which ones are obsolete -- the user equivalent of configuration
>> files, which are properly tracked by the package manager?
>
>
> The violence option? As in, mv all the .files to a backup directory and see
> which ones get re-created in the course of your usual daily activities?
> (Then mv them back, one by one.)
>

Actually, you could turn your home directory into a git repo (make
.gitignore for Downloads, Desktop, etc personal stuff), make an
initial commit, clear the file, make a 'cleared files' commit and then
write a cron job that does a 'git status' or similar and 'git cat-file
HEAD^^ $file; git commit -m "$file was used on $(date)"' but you don't
really know what is using it unless the program has maintained a lock
on it.


Reply to: