Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Symbolic links to directories

1:58 am on Apr 5, 2010 (gmt 0)

Full Member

5+ Year Member Top Contributors Of The Month

joined:Sept 30, 2009
votes: 1


I have multiple installs of a script on my server. What I want to do is to replace the copies using symbolic links that just point to a "master" copy. That will make periodic upgrades and extension managment much easier.

I can do this using:

ln -s /path/to/my/mast/script/folder /path/to/my/script/copy/folder

The only thing stopping my from doing this is that while almost all out of the thousands of files in the folder and subfolders are the same, there is one file in the folder that is different:

/path/to/my/mast/script/folder/LocalSettings.php is different than /path/to/my/script/copy/folder/LocalSettings.php

Sure I guess I can make all the subfolders symbolic links themselves, as well as all the files in the top folder, but that ends up being more of a pain than the original copies.

Is there anything I can do?
3:46 am on Apr 5, 2010 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
votes: 4