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
1answer
2k views

Mac client on AD domain - individual folder redirection

I'm trying to configure a home network with Windows 2008R2 and Windows 7 / Mac Mountain Lion clients. I have a separate NAS drive, which I want to host all home folders as well as a central store of ...
0
votes
1answer
97 views

Linking Ubuntu Documents to Windows Documents

I would like to make my documents synchronised across my dual boot Windows 8 and Ubuntu system. I've chosen to implement this as mounting the Windows data partition in Ubuntu at boot time with fstab, ...
1
vote
1answer
287 views

Apache: How to link or mount local directory to a remote one on Internet?

I have apache2 web server installed on Ubuntu Server which provides the service at 192.168.122.108:80. Also, I've been created a directory named ubuntu on apache's root directory. Now, the idea is to ...
0
votes
1answer
34 views

Third party app for soft linking to files in Windows XP?

There's an app called Junction for soft linking to directories, but I'd like to soft link to files as well.
1
vote
1answer
579 views

Httpd error: not accessible symlink with -D FOREGROUND

I'm trying to setup virtual host in Fedora18. Configuration is following: httpd version is 2.4 user/group - apache/apache global document root is /var/www/html vhost symlink: ...
1
vote
3answers
2k views

How can I store encfs6.xml in another location (and still make it detectable)?

How can I make encfs4win search for the encfs6 file in another location? I tried modifying the encfs_mount.cmd file at the end, like so: set ENCFS6_CONFIG=c:/test1/.encfs6.xml %pathtoencfs%encfs ...
1
vote
1answer
127 views

Copy folder and all subfolders but NOT symlinks

I need to copy a folder and all of its subfolders but I don't want any of the symlinks or their contents to come with it. Can this be done simply? Or - obviously - can I easily disconnect and remove ...
2
votes
1answer
128 views

How to create Symbolic Link chain in Windows?

I am trying to create multi-level symbolic links in Windows 8, but only the direct (first level) symlink seems to be working. If I try to use the second level SymLink, i get errors. i have been using ...
0
votes
1answer
378 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 ...
1
vote
1answer
3k views

Creating symbolic link in windows 7 from NAS device

We currently use Carbonite for our file back ups. I have an N.A.S. with a bunch of files on it that I would like Carbonite to back up in addition to the local files on the machine with the Carbonite ...
5
votes
1answer
656 views

Convert symlinks to hard links

I'd like to recursively convert soft links to hard links in a directory. I've tried something like this: for f in *; do (mv $f{,~} && ln $(readlink $f~) && rm $f~) done …but it ...
1
vote
1answer
313 views

Windows Symlink & working directory

I have a directory called apps/myapp/ with a file myapp.exe which uses myapp.dll and some other dlls. Now lets say i want to symlink this to a directory, like one would do in linux. bin/myapp.exe ...
0
votes
1answer
332 views

How do I make a relative link in windows with a space in the path [duplicate]

I want to make a relative link in Windows 7 to a path that contains a space character. Making a relative link without a space in the path works as follows (explained here): %windir%\system32\cmd.exe ...
2
votes
1answer
3k views

Create Symlink in Windows from command line without “.lnk”

I want to mount a network share on a folder in Windows, because I have an application that's stored big files in a hard-coded path (e.g. c:\path\of\directory). I can't change that path. This is ...
4
votes
1answer
1k views

How can I set a Removable External Device as a built-in Hard Drive?

I am using SSD with my laptop and running out of free space.. So I bought an 64GB microSD card as a secondary storage. But, when I launch My Computer, the SD card drive is recognized as, of course, ...
2
votes
1answer
500 views

symlinks for admin users on Windows

On Windows you can create symlinks either if you start the programm, you want to create a symlink in (e.g. cmd), as Administrator. or if you give your user/usergroup the permission to create ...
1
vote
1answer
185 views

Is there a way to create a virtual drive in Ubuntu that contains multiple NTFS partitioned drives?

I have a dual boot set up (win 8/ubuntu 12.04) and in Ubuntu all 5 of my windows drives show up individually on the Unity launcher. It takes up a lot of space but I like being able to link directly to ...
0
votes
1answer
68 views

Will uninstalling a program that uses symbolic links also remove the linked files on Windows 7?

I recently discovered how to use symbolic links in Windows 7, and I've already started imagining and implementing uses for them. One such usage is to link a program's folder in Google Drive, allowing ...
1
vote
0answers
3k views

mklink /d not working

I have a folder with my pictures on a network drive. I would like that folder in the pictures library in windows 8. It wouldn't let me add it since the network drive isn't indexed. Windows help said ...
0
votes
1answer
526 views

How to automatically mount hard drive in Ubuntu

I have an extra hard drive which I access regularly in Ubuntu, and I have a link from my home folder to a folder on this drive. However, this link doesn't work when I first log in because the hard ...
1
vote
0answers
38 views

Recovering invalidated symlinks in Windows Vista

My brother's computer refused to boot into Vista and would always go into chkdisk, so I figured there was something physically wrong with the drive. I booted into a Linux live cd and used a tool ...
0
votes
1answer
92 views

What is the efficiency of NTFS Junctions?

Long story short, I am using the steamtool application, which was originally developed for the following reasons: Steam by default would save all your games to C:\ SSDs are becoming the new primary ...
0
votes
2answers
2k views

Symbolic link or Junction to a Networked Samba Share

I have a samba share mounted as a network drive. However, I can't make any sort of symbolic link or junction point to it. Is this possible? When I try the following command: mklink /D X:\Samba\dir ...
1
vote
1answer
93 views

Determining if a program is “actually using” a junction

I successfully (?) set up a junction link between the cache folder used by Iron browser to point to another folder on a ram drive, yet when I view the contents and size of both folders they are ...
1
vote
2answers
1k views

cp into destination hierarchy with symbolic link?

I am trying to write a site deploy script that will copy files like so: SOURCE . .. src/ html/ DEST . .. src/ html/ -> /var/www/ftproot/mysite I want the files in SOURCE html to go to DEST ...
2
votes
1answer
766 views

Working symlink isn't accessable through explorer Windows 8

I made a symlink to an folder with mklink on w8x64 between two NTFS partitions on the same disk. All programs think it's a valid folder, but Windows explorer doesn't seem to get this, and displays a ...
1
vote
0answers
245 views

Partitions, symlinks, mounting as folders and performance

I'm going to have a 128-GB SSD which will contain Windows 8 and most applications, and a 1-TB hard drive which will contain most of the rest (large games, documents, select frequently overwritten ...
1
vote
1answer
523 views

Symlinking some of my drive to another, AND syncing structures (Link Shell Extension?)

I'm going to install a SSD and a hard drive on my computer soon. It's a 128 GB SSD, and a 1 TB hard drive. I'm going to use the SSD as follows: It will store the OS and most applications. As for the ...
2
votes
1answer
1k views

Convert Linux symlinks to Windows symlinks

I've noticed that Linux symlinks don't work in Windows, and vice-versa. Is there any way to convert Linux symlinks to Windows symlinks? Specifically, I want to convert relative Linux symlinks to ...
0
votes
1answer
1k views

Symbolic link for log files on AIX

I have an AIX 5.3 and I need to point the /var/mylogs/trace directory at another /mydir/temp When I use the symbolic link syntax; ln -s /mydir/temp /var/mylogs/trace In /var/mylogs/trace I get a ...
0
votes
3answers
79 views

directory in /proc/sys/net/ipv4/config have no hard links?

Why the directories inside /proc/sys/net/ipv4/config have no hard links? ls -l /proc/sys/net/ipv4/conf total 0 dr-xr-xr-x 0 root root 0 Dec 31 08:27 all dr-xr-xr-x 0 root root 0 Dec 31 08:27 default ...
1
vote
1answer
103 views

symbolic link issue in windows

I'trying to make a symbolic link for dropbox folder which will refer to music directory, so the command I entered was the following: mklink \D d:\User\Dropbox d:\User\My Music. When I tried to enter ...
0
votes
1answer
960 views

How do I backup symbolic links?

I created a ton of symbolic links using ln -s ../folder/subfolder mylinkname. How can I back this folder of "links" up so I could restore it at a later date? A compressed file or something similar ...
3
votes
3answers
167 views

Direction of a symlink

touch a ln -s a b The above command creates a symbolic link which originates from "b" and points to "a": lrwxrwxrwx 1 root root 1 Dec 20 23:41 b -> a The question is that how to say that ...
4
votes
2answers
4k 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
2answers
1k views

Can Chrome open a local file with relative path set via link?

Lets say the following windows file-structure is given: ./ ./portable_chrome.exe ./index.html ./load_index.lnk Is there a way to open the index.html with portable_chrome.exe via load_index.lnk with ...
0
votes
1answer
407 views

How to create drive symlink with colon for NTFS-3G symlinks in “.NTFS-3G” folder

The official documentation of NTFS-3G states that you need to create a mapping for drive-spanning NTFS symlinks because it obviously can't map Windows drives to Linux mount points: Another option ...
1
vote
1answer
413 views

How can I create persistent symlinks to my other drive?

When I create soft links within my /home folder to my other hdd (sdb) they no longer work when I restart my system. Do I have to mount my hdd to say /mnt/sdb on boot?
1
vote
4answers
5k views

Why doesn't my symbolic link work?

I'm trying to better understand symbolic links... and not having very much luck. This is my actual shell output with username/host changed: username@host:~$ mkdir actual username@host:~$ mkdir proper ...
2
votes
1answer
5k views

Can somebody explain this `ln -s` command to me?

The command in question is: sudo ln -s /usr/lib/x86_64-linux-gnu/foo.so /usr/lib/ I read this article about ln, which indicates that the latter argument can be either a name or a directory. In this ...
3
votes
1answer
753 views

Using dropbox / symbolic link combo successfully

In the past I have kept some files on dropbox by copying them into my ~/Dropbox folder on Ubuntu. I don't want to move the original files into Dropbox synch folder or muck around with my directory ...
1
vote
1answer
626 views

Symlink path can be followed manually, but `cd` returns Permission denied

I am trying to access the directory /usr/software/test/agnostic. There are several symlinks involved in this path. As you can see by the below transcript, I am unable to cd directly to the path, but I ...
4
votes
1answer
2k views

Checking where a symbolic link points at in Windows 7

In Windows 7, how can I check if a file is a symbolic link or not, if a folder is a junction or not, and how can I check where they are pointing at (in case they are symlink/junction). Both in ...
0
votes
1answer
31 views

Cascade file name changes on links in Windows 7

When making a link in Windows 7, is there a way to have name changes cascade to all links of the file? So if I have a file called: Interest.PDF and make a few links in other folders, but then I later ...
4
votes
2answers
68 views

How do I get cd to switch to the full path when following symbolic links?

How can I get the shell to understand the full path after following a symbolic link. In the example below I'd like the first "pwd" command to report "/Users/sholden/Projects/PS1/examples", and the "cd ...
1
vote
2answers
979 views

Moving the home directory to a new drive

I have no more space left on my hard-drive. So I bought a new one and I would like this hard-drive to be the home folder. I thought of copying all the stuff I have on the home folder to the ...
0
votes
1answer
580 views

Can't remove/delete symlink

I have tried to create a symlink and it threw this error: ln: accessing `.test': Permission denied Now I can't unlink or delete the symlink file. Tried Googling for help but could not find a ...
0
votes
1answer
137 views

Symlink in Windows 7 fails, although user is an admin

I am logged in Windows 7 (Home Premium) as user which is an administrator. When I open cmd.exe, mklink foo bar says: You do not have sufficient priviledge to perform this operation. I know I can ...
0
votes
1answer
384 views

Conditionally create symbolic link by filesize using find exec ubuntu 10.04

I have an interesting problem. I'm trying to create symbolic links in a single folder, for all files in a directory which are larger than a specified size. For clarification, here is an example: ...
0
votes
1answer
621 views

How can I set my desktop background folder to a shortcut?

I have a shortcut in my Pictures folder that points to a folder in my Dropbox containing my desktop backgrounds. I would like for my desktop backgrounds to cycle through images in this folder. But ...