| 
		
			
			
				
			
			
				 
			
			
				
			
		 | 
		
			
			
				 
			
				
			
		 | 
	||||
| 
				Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.  You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us.  | 
		
		 
		![]()  | 
	
		
			
  | 	
	
	
		
		|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
| 
		 | 
	Thread Tools | 
| 
			
			 | 
		#1 | 
| 
			
			
			
			 Liv Benson to You, Bitch 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2007 
				Location: Maryland and WV 
				
				
					Posts: 6,060
				 
				
				
				
				 | 
	
	
	
	
		
			
			 
				
				Question to unix/server gurus.
			 
			Is there way to virtually mirror one directory with contents of another. 
		
	
		
		
		
		
			What i mean is lets say i have directory html/dir-1/ with bunch of files. I want to create html/dir-2/ that mirrors contents of dir-1 with out physically copying files in to it. I remember seeing something like that before. 
				__________________ 
		
		
		
		
	
	![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Jun 2003 
				Location: My High Horse 
				
				
					Posts: 6,334
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 a simple link will do it without copying the files BUT it isnt useful as a back up or anything  think of it as just a pointer to the original dir. 
		
	
		
		
		
		
			I can think of several way to dynamically create a duplicate of a directory...a cron job or even a simple shell script to copy/delete/rename files 
				__________________ 
		
		
		
		
	
	Mike South It's No wonder I took up drugs and alcohol, it's the only way I could dumb myself down enough to cope with the morons in this biz.  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Sep 2002 
				
				
				
					Posts: 1,209
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		
		
	
		
		
		
		
			 
				__________________ 
		
		
		
		
	
	Awesome cloud hosting by DigitalOcean  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Liv Benson to You, Bitch 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Aug 2007 
				Location: Maryland and WV 
				
				
					Posts: 6,060
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Thanks. 
		
	
		
		
		
		
			No, going to give it a try. Mike, yes, thats what I needed, a pointer. Just didn't phrase it right. 
				__________________ 
		
		
		
		
	
	![]()  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Confirmed User 
			
		
			
				
			
			
			Industry Role:  
				Join Date: Feb 2002 
				Location: NYC, NY 
				
				
					Posts: 8,531
				 
				
				
				
				 | 
	
	
	
	
		
		
		
		 Yes its possible, its called a 'Symbolic link' or symlink 
		
	
		
		
		
		
			you can create one in unix using the 'ln' command, or you can ask your host to create it for you 
				__________________ 
		
		
		
		
	
	![]() ~ Webair Dedicated Cloud Servers™ ~ WEBAIR VSYS™ Virtual Hosting Platform ~ Superior CDN Network ~ ~ Managed Dedicated hosting Specialists ~ DISCOUNT DOMAIN NAMES! ~ WEBAIR FUSION IO MANAGED CLOUD SERVERS! ~ ICQ: 243116321 - TWITTER - @WEBAIRINC - E-Mail: [email protected]  | 
| 
		 | 
	
	
	
		
                 
		
		
		
		
		
		
		
			
			
		
	 |