I have the core code, which is the same for all projects, except one configuration file.
I can’t symlink to that dir because, this assumes that the config file will be also symlinked.
Is there a way in Linux/Bash to do that?
I thought to write a script which creates a usual directory, then symlinks all the contents (=files and dirs) from the core, and then, I can just create there the config file.
Not sure if that’s the best solution however.
Note this works well if there are no subdirectories in
/your/projectdirectory. If there are subdirectories it’s much more complicated.By the way, I’d use a VS for this. E.g. central repo, checkout, setup config…
HTH