GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   can I get some help with symlinks? (https://gfy.com/showthread.php?t=832597)

Mr Pheer 06-03-2008 07:00 PM

can I get some help with symlinks?
 
I have a bunch of new websites being built and alot of them use the same images

So instead of uploading these same images to every website, I want to like make a main/central image directory and then make an image directory in the website folder and have it linked to the main/central image directory

I know this can be done but cant remember how.. someone help me out?

Mr Pheer 06-03-2008 08:02 PM

anybody?

BillyParadise 06-03-2008 09:01 PM

man ln

http://linux.die.net/man/1/ln

s3xnetwork 06-03-2008 11:38 PM

ln -s /path/to/original/file.jpg /path/to/symbolic-link.jpg

example could be like:

ln -s /home/mysite/public_html/nekkid_boobies.gif /home/my-other-site/public_html/nekkid_boobies.gif

Manowar 06-10-2008 04:20 AM

Quote:

Originally Posted by s3xnetwork (Post 14275299)
ln -s /path/to/original/file.jpg /path/to/symbolic-link.jpg

example could be like:

ln -s /home/mysite/public_html/nekkid_boobies.gif /home/my-other-site/public_html/nekkid_boobies.gif

symlinks are also case sensitive just if you wanna check

been caught out by that on .JPG tons of times, wastes a lot of effort


All times are GMT -7. The time now is 02:05 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123