Skip to content

handling directories transparantly #1

@Dieterbe

Description

@Dieterbe

Maybe I'm missing something. But I just read the readme and I have an idea:
If the user creates a file like TO_DIR/.config/somefile, why not do something like:
mkdir FROM_DIR/.config
ln -s TO_DIR/.config/somefile FROM_DIR/.config/somefile

In other words: only symlink the "most specific path component" (basename), and replicate the dirname
I don't see the need for a separate FROM_DIR/TO_DIR pair for a directory like ~/.config
this would also work with other paths, no matter how deep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions