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)

14
votes
3answers
9k views

Executing symbolic link to exe - “The specified path does not exist”

When trying to execute a symbolic link which points to an exe file (on Windows 7), the "Open with" windows appears. When renaming it to a ".exe" file, it says "The specified path does not exist. Check ...
1
vote
3answers
2k 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
0answers
8 views

How to get IIS to follow symbolic image link?

On my server, I have symbolic link pointing to a jpg file. When I try to access the symbolic link from a web browser, I am getting a 500. What settings do I need to put in place to get IIS to follow ...
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
13 views

Vim opens symlink even when given target path directly

If I open a file through a symlink first, then :bd that one and later try to open the actual target of the symlink directly, Vim instead opens the symlink. How do I change this behaviour? The ...
0
votes
1answer
19 views

Is there a way to make a constantly updating symbolic link between Windows and Mac?

So, my problem is slightly unique. I'm one of the people who still like playing Minecraft, and I like to use both my MacBook and Windows Laptop to play. Nowadays, I have to keep using an USB to ...
0
votes
1answer
29 views

Having trouble creating symlink between the terminal in Mac OS X and Sublime Text 2 so it can be launched from the command line

I’m using Mac OS X Yosemite and I want to be able to open Sublime Text 2 from the terminal with a command like this: sublime . I’ve typed this into terminal as shown on the Sublime Text 2 website: ...
1
vote
0answers
14 views

Directory Junction keeps being deleted

I have upgraded from Windows 7 to 10 Professional on an SSD and I have created Directory Junctions, using command line mklink /J, for folders like Games, Mozilla Profiles, etc. pointing to a HDD ...
0
votes
0answers
17 views

Linux cp command: Auto-rename files, windows-like, FAT32, file name restrictions, ignore symbolic links

Linux cp command: How can I auto-rename all files to conform to windows or FAT32 formatted device file name restrictions, and ignore all symbolic links? I am trying to copy the contents of my dropbox ...
0
votes
0answers
45 views

Where to get the kernel source directory Kali Linux

This is a branch off of this question: Installing new driver on Linux, missing the 'Build' directory Since the PC has no internet I can not use apt-get to rebuild the kernel and get the ...
1
vote
1answer
222 views

Brew installed, linked, but not found

I just installed mtr via Homebrew, and it completed seemingly successfully (i.e., nothing unusual). MBA% mtr zsh: command not found: mtr That's odd. I figured I'd try again: MBA% brew install mtr ...
0
votes
0answers
47 views

Good maintainable solution for Windows AppData on second harddrive

Say you have a small SSD and a second HDD. You install programs on the HDD, but because your Windows is installed on the SSD, it still wants to put the program's AppData/Local files on your SSD ...
0
votes
0answers
8 views

Is it possible to use a symlink as a option to overlayfs in the linux kernel?

I'd like to do a overlay of a (writable dir, mounted squash filesystem), so that writes are preserved in normal directory. I can edit the fstab entries to add and remove overlay and squashfs entries ...
0
votes
0answers
12 views

add folder to path or copy symbolic links to existent directory in path?

I am running some script on a server, making use of environment modules: basically, when I load a module for some software, it prepends the path with the folder of the software. I am loading a lot ...
0
votes
1answer
40 views

Creating a symbolic link for Firefox and launching creates 2 Firefox windows

I am using Arch Linux and LXDE. I have downloaded Firefox and moved it over to: /opt/firefox (e.g., mv firefox /opt/firefox). Next, I created symbolic link to the user/bin folder: ln -s ...
3
votes
2answers
466 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 ...
1
vote
1answer
196 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 ...
6
votes
5answers
9k views

How to change a symlink in OS X?

How do I change where a symlink points to, without deleting and creating a new one (with ln -s "/path/to/point/to" "/path/where/symlink/is")? When I tried doing that to Java's "Current" symlink, Java ...
1
vote
1answer
41 views

OS X - ln -s on a directory in ~ shows strange behaviour

I'm currently setting up my new system (OS X) and trying to link ~/Git/ to /Library/WebServer/Documents/, so that I can access all my git repositories via 127.0.0.1. However, that doesn't work as ...
2
votes
2answers
21k 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 ...
76
votes
7answers
121k 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 ...
1
vote
0answers
148 views

Vudu and Spotify Download Location

Vudu and Spotify both store the offline/downloaded files in 'AppData/Roaming' and I have maxed out my 'C' Drive. I want to move it to my larger 'D' Drive. I looked up what to do and all over the ...
0
votes
2answers
45 views

Symbolic link on a USB stick automatically adding extra characters upon opening

I'm trying to create a relative symbolic link to an html file. Both the symbolic link and the file are to be stored on a USB stick (i want it to open on any computer). I successfully created the ...
0
votes
1answer
25 views

Where does Windows 7 store “warning” information about a .LNK? (And how to remove the warning)

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 ...
3
votes
2answers
207 views

Can't create shortcuts for .com files

I wanted to create a shorcut for c:\windows\system32\more.com file in Desktop using ctrl+shift and drag and drop, and it silently ignored by not creating anything, then I decided to drag and drop it ...
0
votes
1answer
122 views

Symlinks over SSH: Why am I unable to access files/directories in parent directory if traversal to current directory was through a symlink?

NOTE: This behaviour is observed via remote access using SSH. I noticed that if I have moved into a directory using a symlink that I cannot use the .. entry in the directory listing to move back into ...
0
votes
0answers
36 views

windows 7/64 admin_user with create symbolic links priv and allow evaluation on: insufficient PRIV?

I am running a script which creates symbolic links to a Nikon NEF file, clones a real XMP file with experimental settings and then runs it though Adobe Camera Raw and Photoshop with a dropplet to ...
0
votes
1answer
191 views

Detailed steps for creating a junction for winsxs folder in Windows 7 [closed]

I was searching for a list of detailed steps in Windows 7 for moving the winsxs folder to my data HDD drive and creating a junction in the SSD with mklink /J oldpath newpath I could only find ...
0
votes
0answers
47 views

Google Drive grabs all symlink'd files when uploading

I'm trying to upload a folder (in which are several symlinks to hefty PDF files) to Google Drive. It's 60 MB not counting the symlinked files, and about 300 MB counting them. Google Drive insists ...
1
vote
2answers
65 views

Is a symlink to a directory a file or a directory?

I have several commands that remove files and directories. One of them deleted a symlink that was pointing to a directory. It raised the following question: which command removed it? The one that ...
1
vote
1answer
81 views

Need to undo my User Directory shortcut to a Second Drive

Back when Windows 8 came out I added a second SSD Drive to my Laptop. However, I was unable to use the new drive space since there was no way to redirect the USER Subdirectory where ALL my data ...
2
votes
5answers
379 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 ...
2
votes
2answers
142 views

How can I start an application via a Windows symlink

As a developer, I install and run many applications. To access these from the command-line, the usual mechanism to add the applications to the PATH environment variable. That's ok, but leads to a ...
0
votes
0answers
42 views

Mount drive as NTFS folder vs junction link

Is mounting an drive as NTFS folder same kind of link as doing a directory junction with mklink /j linkname targetpath? The reason im asking this is because we are having problems with NTFS mounted ...
0
votes
1answer
102 views

Dropbox - soft link from external hard drive doesn't get recognized by Dropbox on OS X

I store some super large compilation of files on my external hard drive because there isn't enough space on my Macbook Pro. I would like to have them in my Dropbox as well. In this question Uploading ...
1
vote
2answers
35 views

Create folder link in FTP

I have FTP with directories and I want to create a symbolic link in the FTP to other directory in the FTP. I have directory B in path /A/B, and I want to create directory /C that is symbolic link to ...
1
vote
2answers
1k 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
2answers
62 views

Undo Creating Symbolic Links by copying back the original, rename the file and deleting the link

I used a windows 7 utility to delete exact byte per byte duplicate files and replace them with a symbolic link before I knew that the symbolic link type is not allowed in our corporate domain. I need ...
1
vote
2answers
2k views

Why is this archive failing to create symlinks?

When I extract the archive Symfony_Standard_2.2.1.tgz using this command: $ tar xzf /home/tomas/downloads/Symfony_Standard_2.2.1.tgz I always get the errors: tar: doctrine.php: Cannot create ...
2
votes
1answer
60 views

Can I make a read-only symlink in Windows?

I have two game accounts in a game that allows addons. The addons save their data into files. Whenever the game is closed (from a manual close, a disconnect, a crash, etc.), the game writes to the ...
0
votes
1answer
48 views

Google Drive and Local Directories in Mac OS X

I want to create a symbolic link between local directories and my Google drive. In other words, I don't want to synchronize it by hand. If there is a change in the directory, it should synchronize it ...
0
votes
1answer
43 views

How to zip an archive while keeping some symlinks but not others? (OS X)

I'm using the zip command line tool on OS X to compress an Xcode project folder. Included in that folder is a .framework for OS X which includes symlinks like xx.framework/Versions/Current which ...
0
votes
0answers
15 views

Share symlinked files with rdesktop

I have two computers, one running RHEL6 and one running Windows 7 Enterprise. The linux box is my main workstation, however due to software that requires a windows machine with a unique IP for ...
0
votes
1answer
107 views

Restore a file overwritten with ln -nfs?

I accidentally "deleted" a file by doing this: ln -nfs /path/to/file In my understanding the data itself should still be there. I also stopped working on the machine as I did this... Is it somehow ...
0
votes
0answers
19 views

rsync a folder ignoring sud-dirs which has with circular symlink

I am trying to rsync a folder as below: rsync -ahLz ./src /tmp/ Dir "./src" has circulr symlink as: $ ls -l src/cpp/blddir lrwxrwxrwx 1 lnxbuild users 16 May 27 02:16 src/cpp/blddir -> ...
5
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 ...
4
votes
1answer
4k views

How do I make a symbolic link on Windows 7?

I've recently changed from Ubuntu to Windows 7. One feature I'm struggling to develop without, is symbolic links. In linux, I would simply ln -s /where/to/ /where/from/ I've done some googling for ...
6
votes
4answers
6k views

What are the advantages of symlinks over hard links and viceversa?

I understand the differences between symbolic and hard links, but I've never understood why choose one or the other.
5
votes
3answers
5k views

How can I make git commit files in a symlinked folder

I have two folders: /home/me/code/project/ /srv/www/projectfiles/ In the /home/me/code/project folder, I have symlinked static to /srv/www/projectfiles/ i.e. /home/me/code/project/static/ -> ...
16
votes
1answer
10k views

Permission to make symbolic links in Windows 7?

How can I grant a particular user the permission to create symlinks in Windows 7? I've searched through "Group Policy" and Google, but haven't found anything. On a side note, is there a way to ...