Welcome to WebmasterWorld Guest from 54.205.20.160

Forum Moderators: bakedjake

Message Too Old, No Replies

Symbolic links to directories

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

5+ Year Member Top Contributors Of The Month



Hello,

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)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month