Skip to content

Dotbot cleanup automation - Post-script cleanup #11

@kahl-dev

Description

@kahl-dev

Overview

Create post-script automation to clean broken symlinks when files are removed from dotfiles.

Problem

When dotfiles configurations are removed or restructured, broken symlinks remain in the home directory.

Solution

  • Create cleanup script to scan for broken symlinks pointing to .dotfiles/
  • Remove orphaned config directories that are empty
  • Handle old symlinks when dotfiles structure changes
  • Integrate cleanup as post-installation hook in dotbot
  • Add manual cleanup command option

Benefits

  • Automated maintenance
  • No manual cleanup needed
  • Cleaner home directory

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions