can I get some help with symlinks?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Pheer
    So Fucking Banned
    • Dec 2002
    • 22083

    #1

    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
    So Fucking Banned
    • Dec 2002
    • 22083

    #2
    anybody?

    Comment

    • BillyParadise
      Registered User
      • Aug 2004
      • 96

      #3
      man ln

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

      This Sig is WAYYYY out of date.

      Comment

      • s3xnetwork
        Confirmed User
        • Sep 2007
        • 201

        #4
        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

        Comment

        • Manowar
          jellyfish  
          • Dec 2003
          • 71528

          #5
          Originally posted by s3xnetwork
          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

          Comment

          Working...