![]() |
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. |
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 |
|
Thanks.
No, going to give it a try. Mike, yes, thats what I needed, a pointer. Just didn't phrase it right. |
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 |
All times are GMT -7. The time now is 06:12 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123