A symbolic link ("symlink") is a reference to a file or folder which may exist on the same or another drive in the system. Symbolic links allow users to create a more logical file layout, when the files themselves may be spread across multiple disks or relocated to more convenient locations.

learn more… | top users | synonyms (1)

0
votes
0answers
234 views

Mac: Moved Applications folder, can't install peripheral software?

Here's the Situation I have a Mac Pro, and it runs Mac OSX 10.7.4. For faster performance and startup speed, and an easier way for me to backup my files, I did the following 3 modifications: 1) I ...
2
votes
1answer
1k views

How do I move a linked file on Unix?

I have a bunch of files in one directory and links to each one of those files in another directory. So ls -l looks something like this: lrwxrwxrwx 1 rembol rembol 89 Jan 25 10:00 copyright.txt ...
-1
votes
1answer
47 views

Does Windows 7 MKLink make a copy of the linked file?

Assume I make a softlink (symbolic link or junction) to a 50GB directory, it appears as if the "shortcut" folder is as same as target folder. Will Windows use 50GB more for the "shortcut" folder?
4
votes
4answers
5k views

Windows 7 / Symlinks - How do I copy a Symlink to a directory?

Is it possible to copy a Symlink to a directory in Windows 7. When I try to copy a symlink'd directory, it tries to deep copy the contents to the location.
4
votes
5answers
691 views

How to see the end of a long chain of symbolic links

Suppose I have a link that points to another link that points to another link, etc. way down the line. I'm not sure how many levels of links there are. What's the slick command line way to see the ...
0
votes
2answers
55 views

Creating symlink for C:\Program Files

Is it possible to create a symbolic link in Windows that redirects C:\Program Files to another drive?
5
votes
5answers
15k views

Windows Server 2008 Create Symbolic Link, updated Security Policy still gives privilege error

Windows Server 2008, RC2. I am trying to create a symbolic/soft link using the mklink command: mklink /D LinkName TargetDir e.g. c:\temp\>mklink /D foo bar This works fine if I run the command ...
0
votes
0answers
13 views

Replace “Package Cache” with a symbolic link

Is it safe to replace the "Package Cache" directory with a symbolic link (junction) on an attached HDD?
16
votes
3answers
8k views

What is the difference between Symbolic Link and Shortcut?

What is the difference between a Symbolic Link and a Shortcut?
0
votes
0answers
24 views

Is it safe to move C:\Users and add a symbolic link\junction?

I am using Windows 8.1 and the Users directory has got a bit big (22.2Gb). I'd like to move it off the SSD and onto the massive HDD. Is it safe to replace is with a symbolic link from the SSD to the ...
1
vote
1answer
34 views

Using CIFS to mount a Windows share that symlinks another Windows share

I have a Windows Server 2008 VM that hosts some files that are accessed by a mixture of Windows and Linux (Ubuntu 12.04) machines via a windows share. Due to space constraints on the VM host that the ...
0
votes
1answer
15 views

Is there a way to set the symlink attribute for a file in Linux?

I have a directory that I moved from a Linux file system to an NTFS file system and broke all of the symlinks. Moving them back didn't fix the problem because all the symlinks are now very small files ...
7
votes
2answers
3k views

View a list of symbolic links on system?

Is there a way to see a list of all the symbolic links that are active on a Windows machine?
0
votes
0answers
18 views

Share Firefox History and Bookmarks without using Firefox Sync

I'm using Tor Browser 3.5.3 having Firefox 24.0.0 ESR and another Firefox 29.0.b1 . I want to have my Web Browsing history, Bookmarks to appear in both the TOR and standard Firefox. Inbuilt Firefox ...
32
votes
3answers
4k views

What are the various link types in Windows? How do I create them?

Is it possible to link two files or folders without having a different extension under Windows? I'm looking for functionality equivalent to the soft and hard links in Unix.
2
votes
1answer
10k views

Batch File - Delete Shortcut From ALLUSERS Desktop

In Vista/7, if I try to delete a shortcut using the following command -: del "%allusersprofile%\Desktop\MyShortcut.lnk" ...Windows sees this folder as empty and doesn't delete the file. The ...
0
votes
1answer
30 views

Inheritance system for folders (symlinks?)

Okay, here's the scenario. I have a base folder "Base" that has a blank, multipurpose template. However, this template is 12 gigabytes. I want to be able to have an inheritance system where linked ...
0
votes
1answer
21 views

Can't create symlink on Windows VM's mapped network drive

I have a Server 2008 VM (Parallels 9), and I share a folder from OSX via a mapped network drive "T:". I am trying to make a symlink from one folder on T: to another folder on the same drive, like so: ...
0
votes
1answer
52 views

Windows 8.1 - Failed Symbolic Link Caused Windows To Be Unable To Log In

I was needing to have my Users folder on my Hard Dive instead of my SSD where my Operating System is. However, after following the answer provided by @2mc56 on a Microsoft Community question, I was ...
0
votes
1answer
20 views

Not able to reference softlinks in a script

we have couple of softlinks to scripts a directory in our current directory. Let's take we have two softlinks , script1 and script2. We are referencing script2 from within a script1 like below. . ...
0
votes
1answer
20 views

Apache trying to access directory that doesn't match symlink

I've got a symlink like so: /home/site1/public_html/site2 whereby site2_symlink was set up like this: ln -s /home/site2/public_html/ site2 and I have follow symlinks turned on in my Virtual ...
1
vote
1answer
25 views

Show one folder's content in other folder

My question is about Linux. I have 2 folders - /home/user/first and /home/user/second. In the /home/user/first there are some files. The second folder is empty. What I want to do is to have ...
6
votes
3answers
17k views

Creating a symbolic link to mapped network drive in Windows

I am having an issue creating a symbolic link on Windows 7 Ultimate. I want to map a folder from a mapped network drive into My Documents. mklink /D "C:\Users\Vegard\Documents\Virtual Machines" ...
2
votes
1answer
1k views

Move files from EXT to NTFS preserving symbolic links

When I try to move lots of files from an EXT partition to an NTFS partition in Ubuntu, it complains about "Filesystem does not support symbolic links", and fails. Of course NTFS does support symbolic ...
0
votes
1answer
12 views

Should I make `emacs` a symlink or environment variable?

When I apt-get install emacs I can just type emacs and it launches. But I decided to replace the apt repository version (23 currently) with the latest stable release (24.3). Now, I'd still like to ...
0
votes
0answers
26 views

Symlinks, junctions and copys to preserve data in Dropbox

I am trying to outsmart Dropbox here but I'm losing the battle so far. I am running a windows shell extension that allows symlinks, junctions, smart copys, smart mirrors, delorean clone, hardlink ...
1
vote
3answers
92 views

How to copy MS Windows symlink files as is?

I made some symlinks in MS Windows using mklink /D command. But when copy it, Windows Explorer always perform deep copy instead copying symlink itself. How can I just copy the link? I need to send ...
1
vote
1answer
38 views

SymLink only works in the same directory

user@laptop ~ $ sudo ln -s ~/Games/JA/openjk.i386 ~/Desktop/JA user@laptop ~ $ readlink -f ~/Desktop/JA /home/user/Games/JA/openjk.i386 As you can see, the symlink points to the file, but when I try ...
4
votes
2answers
1k views

Give Access to a Subdirectory Without Giving Access to Parent Directories

I have a scenario involving a Windows file server where the "owner" wants to dole out permissions to a group of users of the following sort: \\server\dir1\dir2\dir3: Read & Execute and Write ...
1
vote
1answer
151 views

How to copy directories into symbolic links using rsync?

I have directories and files locally and I want to copy them over to another box using rsync . The problem is that most of the data is already on the remove box, but not on the target disk. E.g., I ...
2
votes
2answers
566 views

On Linux (CentOS 5), remembering when we've followed a symlink and being about to 'cd ..' out again

I'm trying to figure out how to tell the shell (tcsh) to remember when I've gone into a symlinked folder, and allow 'cd ..' to navigate back out of the symlink rather than just navigate to the parent ...
0
votes
1answer
47 views

Have Yum Update vmlinuz, initramfs Symlinks In /boot Automatically (Fedora)

Whenever Yum updates the kernel, there's a new set of (vmlinuz* initramfs*) files in /boot and the Grub config is updated to directly point to those new files. Where is the setting that will force ...
1
vote
3answers
76 views

Link My Documents folder to external SD Card

I have a laptop with 120GB SSD (limited space) and a 64GB SD card in the laptop. I have cloned my hard drive from a clean install of all the software installed. I would like to have the My Documents ...
3
votes
1answer
6k views

Using symbolic link directories with Apache, PHP and Windows 7

I am trying to setup a symbolic link for a directory and I am getting the strangest error. I am using: mklink /d C:\www\site\inc C:\inc where C:\inc\script.php is the file I need to run. This ...
0
votes
0answers
37 views

How to get OSX/Linux to recognize Windows Symlinks

When connecting to a Windows share through OSX or Linux, symlinks are not properly recognized. They either appear as aliases with no target, or as folders with no permissions to access. At this point ...
0
votes
1answer
21 views

Using shortcuts to create identical file structure

I've got a Debian based OS with TV shows spread over multiple disks but the series are not all on the same disk. For example, Show1 has 10 Season, Season 1,2, 4 and 5 are on Disk1, 3, 6 and 8 on ...
2
votes
1answer
71 views

How can I clone a directory structure with symbolic links (in-tact, also duplicated)?

We use Kiln for our source control; and back it up by copying the KilnRepositories folder to another (local) drive while the services are all stopped, and then on to a network drive afterwards (the ...
0
votes
0answers
56 views

Windows 8.1 Quick Link Menu not working

The problem is the links not working. The menu does come up, but clicking on any button does nothing. I upgraded from Windows 8 to 8.1 through Windows UpdateI was originally using the default ...
0
votes
2answers
48 views

Is there a way to disable resolving symlinks for OSX 'open' utility?

Suppose I have file called a.txt and another file b.txt which is a symlink pointing to a.txt. I also have my own developed application which is set as a default application for .txt files. Now when I ...
0
votes
1answer
27 views

Is there software/program that can bulk symlink a bunch of files? What about a shell script?

I have like a couple hundred different files I want to symlink, is there any program where I can select all the files I want to symlink (keeping the same file name in the symlink destination) and then ...
0
votes
0answers
32 views

Perforce, UAC, and symlinks on Windows 7/8

I've met with the following interesting behavior; I'd appreciate if someone could explain the mechanics behind: When I get the source via Perforce, and it contains a symlink (for example as part of ...
7
votes
1answer
8k views

How do you make a symbolic link with a relative path using mklink?

This web page implies that it is possible to make symbolic links with relative paths using mklink. I have tried all sorts of ways to make relative symbolic links, but I always end up with an absolute ...
0
votes
0answers
13 views

Remove Windows link associations from recursively linked files (created by mistake)

So, because of Windows' bone-headed reverse syntax and the generally piss-poor command line utilities, I accidentally created several hundred recursive links on files in many directories and nested ...
0
votes
0answers
25 views

How can I create hardlinks to an OSX bundle? Or the symlinks inside the bundle?

I have a hierarchy of files that I need to hardlink to a temporary install location. Some of those files are frameworks. Frameworks are bundles but essentially just folders, which aren't supported by ...
3
votes
2answers
135 views

How to move target a Windows shortcut points at and allow existing shortcut work?

I would like to do the following: Create a shortcut to a folder (say mLink.lnk --> C:\tmp) This will be emailed to users Move and/or rename the folder (C:\tmp --> C:\tmp2) Setup intermediate step ...
3
votes
2answers
3k views

How to fix a symbolic link pointing to a wrong location?

I'm a little bit confused with hard/softlinks here. I'm on OSX, have a folder '4' and two links pointing to it: drwxr-xr-x 4 imm staff 136 14 Jun 21:24 4 lrwxr-xr-x 1 imm staff 1 14 Jun 16:56 ...
1
vote
0answers
20 views

Apache2: having trouble setting new projects

I just installed LAMP on Linux Mint 15 and ran into troubles when setting up my projects. First I tried putting a symlink into the /var/www directory that points to the project folder in my home ...
0
votes
1answer
53 views

Create symbolic link in Windows 7 for Google Chrome storage

Google Chrome, and for that matter all Google apps are eating up my hard drive space. I want to tell Chrome to use some other directory for storing all the data. I followed the technique of adding ...
0
votes
1answer
58 views

Move AppData (via symlink?) to a different drive

I've been looking for ways to move AppData off my SSD but the symlink methods won't work since they attempt to make the link in the folder that my AppData folder is in. Since the folder exists and ...
0
votes
1answer
223 views

Why don't hard link destinations on Windows Server 2003 immediately show the proper file size and last modified time?

I wanted to create hardlinks to files on Windows Server 2003 and I stumbled upon the superuser question hardlinks on ntfs with windows. I tried mklink as one of the answers suggested and found that ...