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)

130
votes
1answer
61k views

“directory junction” vs “directory symbolic link”?

MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J ...
1
vote
1answer
16 views

Backup remote Linux from Windows. Recognize symbolic links

I'm trying to backup a Linux Server from a Windows 7 Laptop. The Problem I'm facing is that backup solutions for Windows do not recognize Linux symbolic links. The backup clients just follow the ...
0
votes
1answer
28 views

Create Windows-compatable symbolic links in Ubuntu

I am using a SSD which is running out of space. Like 300 kB remaining. I need a symbolic link from the Program Files folders(32 bit and 64 bit) on the C drive to the E drive. Unfortunatly, the mklink ...
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 ...
1
vote
1answer
18 views

Unix permissions error when working with symbolic link and MySQL installation

I'm working to install MySQL on one of our servers. I'm the ec2-user, and I'm attempting to install in the ec2-user home directory, but allowing access to the directory to the mysql user. However, ...
0
votes
1answer
21 views

Move C:\Users\tachikoma01\AppData\Roaming\Bitcoin to an other hardrive

I have a 120gb ssd and it's full. I want to use bitcoin armory which is going to take up to 50gb. And even if the software is installed on my G: hard drive, the software is still downloading datas to ...
33
votes
8answers
53k views

Create a symbolic link in the Mac OS X Finder

Is there a way to get the same functionality as the unix command ln -s in the Mac OS X Finder (OS 10.5)? I want to be able to create symbolic links while working in Finder windows without opening the ...
1
vote
1answer
28 views

batch current directory when starting as administrator

Background: I like to have my computer clean. Especially I don't like programs and services starting with my windows, but I still want to use all my programs without having to manually start ...
0
votes
0answers
8 views

Linking OSX system folders across drives

I'm using Mavericks Server at work on a Mac Pro (Mid 2010). I got the go ahead to upgrade it to an SSD and install a 4TB storage drive, as well as 32GB of RAM from 6GB. I wanted to put the OS on the ...
0
votes
1answer
23 views

Symlinking executable surrounded with dylib not working

The executable $ /Applications/Mathematica.app/Contents/MacOS/WolframKernel works fine: Mathematica 10.0 for Mac OS X x86 (64-bit) Copyright 1988-2014 Wolfram Research, Inc. In[1]:= However ...
4
votes
2answers
5k 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, write and execute ...
1
vote
2answers
50 views

Is there a way to create something like a symbolic link from a folder on a Windows machine to a directory on a Linux one?

I have a program that runs on a Windows VirtualBox VM, a and stores data in a specific folder. I would like to work up something like a symbolic link from this folder to a directory on a Linux server, ...
1
vote
1answer
46 views

Update junction in Windows 8.1

I'm doing this: net stop wuauserv then: rename c:\windows\SoftwareDistribution SoftwareDistribution.old and then: mklink E:\windows\SoftwareDistribution \D I'm doing \d in the end because ...
24
votes
3answers
20k views

How do I create a relative symbolic link in Linux?

I need a symlink that resolves relative to the directory it is placed in. What command is used to create such a thing?
0
votes
1answer
24 views

Linux symlink not working

I have been trying to do symlink but It does not work. This is all it gives me after I do the command ls -s /mnt/01A3D80750CDAFF9/Steam ~/.PlayOnLinux/wineprefix/Steam/ dimitri@dimitri-desktop:~$ ls ...
3
votes
3answers
311 views

Is there a way to set symbolic links to only executable files in Linux?

I have a directory with code files and executable files and I want to know how to create a symbolic link only to executable files in that directory? I know that path-of-directory/* selects all files ...
3
votes
4answers
20k views

How can I create a directory symbolic link on Windows Server 2003?

I'm trying to create a directory symbolic link under Windows Server 2003 but I'm not having any luck. I've tried junction.exe (Sysinternals), ln.exe, and linkd.exe (Windows Server 2003 Resource Kit). ...
0
votes
0answers
13 views

Can I create link that points to many folders [duplicate]

I'm under Windows 7, and I'd like to know if it's possible to create a virtual folder that points to many other folders, effectively listing all their contents as if being in a single directory. ...
1
vote
2answers
104 views

Windows symlink to executable - does not open by double click [duplicate]

On Windows 7 I created a symbolic link to an executable using: mklink Test.exe C:\Path\to\source.exe But when I try to run it by double clicking on it, i get the "open with" dialog. Running it ...
3
votes
1answer
3k 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 ...
0
votes
0answers
31 views

Rsync with extended attributes

I'm using command rsync -aAX --delete /src/ /dest/ on linux to backup data from samba share to external disk. When rsync backup symlinks for the first time everything goes smoothly, but when I run the ...
0
votes
1answer
19 views

How do I give myself privilege to create symbolic links on Windows 7 logged in as domain user?

I would like to be able to use mklink without the inconvenience of right-clicking on cmd.exe and choosing "Run as Administrator". I am logged in at work as a domain user with local admin privileges, ...
0
votes
1answer
11 views

Where does Windows 7 store “warning” information about a link?

I have a program installed. Doesn't really matter which. If I double click on the executable file, it launches with no problems. If I create a link in a taskbar or in the menu bar, clicking the link ...
1
vote
0answers
18 views

iSeries symbolic link for QDLS appears as a file [closed]

My iSeries is running v7r1 and I am now having the same problem as a customer of ours running v6r1, and that is that if I add a symbolic link for QDLS into a normal IFS directory, then Windows ...
10
votes
5answers
15k views

How to allow acces to a symbolic link in my ~/Sites/ for Apache under Mac OS X Lion 10.7.2

I need allow access to a sym-linked directory within ~/Sites from my Apache. I Symlinked the directories like this ln -s ~/path/to/the/source/directory/ ~/Sites/source-link-here Now whenever I fire ...
0
votes
0answers
29 views

Apache 403 forbidden symlink

I have a symlink from /home/public/folder to /var/www/example.com/thing but when I try to access example.com/thing i get 403 forbidden. I have given /home, /home/public and /home/public/folder o+x ...
0
votes
0answers
13 views

Use a dynamic mount path with a symlink

I need to have a chrooted user access a folder outside of its chroot. So I use a bind mount for this and it works fine. The mount points to a symlink folder and this symlink changes automatically ...
3
votes
2answers
1k views

Is it possible to create a symlink to a webdav directory on Windows?

I know I can map a webdav folder to a drive letter in Windows, but I need to map ~10 different webdav folders (different servers) and assigning a drive letter would be ugly. Is it somehow possible to ...
0
votes
0answers
12 views

Buiding and Installing Python Module

I am having the following issue and am not sure how to fix. I do not know what linking is but I hear it's related to the problem. I'm trying to set up a python module: First I call in the directory ...
1
vote
2answers
3k 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
29 views

How to prevent an app from removing symbolic linked files (Windows 7)

I have a folder z:\data on a network drive.. I have a local folder c:\work where the following symbolic link exists (created using mklink) c:\work\letter.tex => z:\data\letter.tex When I open ...
1
vote
1answer
329 views

Time Machine backup to Google Drive folder? [closed]

My university uses Google Apps. With Google recently unveiling higher education customers will receive unlimited drive space, I want to take advantage of this to automatically backup my Mac. The ...
0
votes
1answer
39 views

Is it bad to create symbolic links from appdata and programfiles in windows 8.1?

I have a ssd, and the space is running low, so i'd like to create a symlink from C:\Program Files, C:\Program Files (x86) and C:\Users\Gabriel\AppData to D:\Program Files, D:\Program Files (x86) and ...
1
vote
1answer
3k views

Unix Copy (cp) without Symbolic Links

I want to copy my files but convert the symbolic links to hard links (ie. the actual file). How can I do this? Here's my code (that isn't working): cp -RL ${FROM_DIR} ${TO_DIR} Note: this is for ...
0
votes
1answer
23 views

How to backup symbolic link paths?

Is it possible to backup and restore the created symbolic link paths? Where Windows 7 stores the data for the symbolic links? I looked in the registry but i couldn't find any data there.
0
votes
1answer
17 views

Creating a symbolic link between extentionless files

I’m running Windows 7 on one partition, and Windows 10 on another partition. I’m trying to use my Windows 7 hosts file in place of the Windows 10 one, since it has information in it used by XAMPP. ...
1
vote
1answer
55 views

Windows 8.1, Cannot relocate Users directory without windows failing to login properly

I'm trying to relocate my C:\Users\Me folder on my SSD to F:\Users\Me which resides on my HDD. So far I've tried two approaches. Registry Modifying the following registry keys in ...
0
votes
1answer
43 views

Deleting a Symbolic Link in Windows 7

If you delete a directory symbolic link in Windows 7, using explorer's right-mouse menu delete command, will you also delete the contents of the directory it points to? If you do, is there any way of ...
0
votes
1answer
59 views

Launch program from commandline without .exe

I have added, in this case, the wireshark directory to my env var path and can type "wireshark.exe" from anywhere on my system to launch the program. I would liek to be able to type "wireshark" or ...
0
votes
0answers
19 views

Redirect SVN repository working path via symlink to shared network folder provided by vmplayer

My setup is the following: Host environment with backup software. Very lightweight so i can restore it with ease. Virtualized development environment - Host needs format? not a problem, Reinstall ...
0
votes
0answers
71 views

Make a specific program see the file-system differently on Windows

I'm using Winamp since god knows when. I have all my songs in the media library with all my mp3 files with all kind of cool statistics like how many times I've listened to each song, ratings etc. The ...
0
votes
1answer
11 views

Reverse a default flag

As a context. I have a folder which I have symlinked into my $HOME directory. ~> ls -s /var/www/to_link "$HOME/linked" I cd into "$HOME/linked" So, by default, pwd shows the current directory ...
63
votes
7answers
104k views

How to copy symbolic links?

I have directory that contains some symbolic links: user@host:include$ find .. -type l -ls 4737414 0 lrwxrwxrwx 1 user group 13 Dec 9 13:47 ../k0607-lsi6/camac -> ../../include 4737415 ...
0
votes
2answers
819 views

Why not having /tmp default permissions to 777 in osX?

I'm often using, on unix servers I'm working with, the /tmp folder as a folder where I write temporal stuff needed for my software (mainly web applications). It has usually 777 permissions. I found ...
1
vote
1answer
26 views

Go to directory of symlink file target

How can I create a command (or alias) to go to the directory which contains the target file of a symlink. For example, if I have a symlink symFile@ -> /Users/zhermes/some/dir/someFile I'd like ...
0
votes
2answers
22 views

Replace Referenced files with Symlink

I have a git repo I am working with that has files and folders that need to be symlink to files and folders inside another folder. All of the symlinks are refrenced as text in the second projects ...
0
votes
1answer
30 views

nodejs and npm will not work on existing project directory

So, the issue here is that I installed the Node.JS on c:/app/nodejs while my projects are under c:/app/www. I tried to use a dynamic symlink of www inside /nodejs, but it did not work out. I also ...
1
vote
2answers
1k views

Change many symbolic links at once?

I have about 40 symbolic links in a directory that look like this: lrwxr-xr-x 1 anna staff 45B 22 Jun 11:20 menu-bg-left.jpg -> ../../../../../hg/www/images/menu-bg-left.jpg lrwxr-xr-x ...
0
votes
0answers
33 views

Using utorrent server with symbolic links

Recently I installed the utorrent-server (version 3.3) on Ubuntu (ver. 13.04) so I could have a familiar UI to work with when I'm not using my Windows laptop. It seems to work fine for the most part, ...
4
votes
1answer
4k views

NFS: too many levels of symbolic links. How to find and fix?

wim@wim-desktop:/media/data/dots/manouche$ ls > /dev/null ls: reading directory .: Too many levels of symbolic links wim@wim-desktop:/media/data/dots/manouche$ find . -type l -exec ls -l {} \; ...