I have a git repo I am working with that has files and folders that need to be symlink to files and folders inside another folder. All of the symlinks are refrenced as text in the second projects folder. I am just wanting to know how to go through and have all the symlinks automatically setup.
Example Structure
project1/
---- myfile.rb
---- myfolder/
project2/
---- myfile.rb
---- myfolder
and in the file project2/myfile.rb it only includes the following text on line 1.
../project1/myfile.rb
and project2/myfolder just includes the text
../project1/myfolder
This is repeated throughout the file structure. Another example would be
project2/app.rb has the text
../project2/app.rb
I am on Ubuntu and thinking there is a way to go through these in an automated way and set the symlinks rather than manually finding each one.