I am sorry and aware this is the wrong community. However, I am unable to find Ask Programmer.

I wrote a small bash script, and I would like to share it on GitHub. However, to operate probably it requires dir with some files in user $HOME dir.

The only solutions came to my mind were, tar the directory BUT is this pragmatic solution?

  • FizzyOrange
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Just put it in a tar.gz and require the files to be relative to the script, not $HOME.