Re:Dotfile Madness
by kragen on Sunday October 23, 2022 @11:08PM
(#33312585)
I find it useful; I might want to version-control .config but definitely not .cache. And if the program is broken I might blow away .cache but not .config.
[ Parent
| on HN ]
Re:Dotfile Madness
by fiddlerwoaroof on Sunday October 23, 2022 @11:22PM
(#33312649)
That still works if it’s `~/.foo/cache`
rm -r ~/.foo/cache ~/bar/cache ~/baz/data/app/cache [20 more apps..]
is less ergonomic than rm -r ~/.cache/\*I think HN escaped the * in that final line before I edited it into a code block and my edit window is expired so I can't fix it
Re:Dotfile Madness
by fiddlerwoaroof on Monday October 24, 2022 @11:34AM
(#33318070)
There’s always:
rm -rf ~/.*/cacheAssumes the app uses cache as it's cache, rather than names like dlcontent, bananas_content, storage.sqlite, assets, meta, $TIMESTAMP.txt etc.
Re:Dotfile Madness
by fiddlerwoaroof on Monday October 24, 2022 @12:34PM
(#33318905)
Well, I don’t mind standards, I just prefer all the files an app touches to be under a single root folder (that’s not just $HOME)