How to create symbolic link to folder
Suppose u have folder called testing_files (let's path /home/ravi/shared_folder/public/testing_files)
and
you want to make a symbolick under your project folder names as "assets" (let's path /home/ravi/project_folder/public/assets)
(source folder/actual folder) (symbolic link)
ln -s /home/ravi/shared_folder/public/testing_files/ /home/ravi/project_folder/public/assets
be careful while giving symbolic link name assets folder should no be present or it will create a new one inside.
Suppose u have folder called testing_files (let's path /home/ravi/shared_folder/public/testing_files)
and
you want to make a symbolick under your project folder names as "assets" (let's path /home/ravi/project_folder/public/assets)
(source folder/actual folder) (symbolic link)
ln -s /home/ravi/shared_folder/public/testing_files/ /home/ravi/project_folder/public/assets
be careful while giving symbolic link name assets folder should no be present or it will create a new one inside.
No comments:
Post a Comment