Skip to content

symbolic link to file, but not to dir #5

Description

@jslby

Hello!
I try to use your script, but I run into unpleasant problems.

I created a .dotfiles repository in $HOME.
The file structure is approximately as follows:

- .dotfiles
-- .config
--- i3
---- config # i need only this file

In my $HOME there is also a .config folder and it contains many files of third-party programs, for example chromium which I would not like to upload. There are many such folders and they constantly appear.
I created a file in the .dotfiles/.config/i3/config repository and reckon that a symbolic link will be created on this file, but your script tries to create the entire .config directory. How to fix it?

Maybe you can check: if is dir -> recursive search all files and create symbolic link

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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