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
22 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
360 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 ...
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
151 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 ...
5
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
34 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
20k 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 ...
71
votes
7answers
117k 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
90 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
42 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
23 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
186 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
81 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
29 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
124 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
31 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
74 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
302 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
122 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
29 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
75 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
30 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 ...
1
vote
0answers
109 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
2answers
46 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
1k 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
52 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
34 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
31 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
11 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
97 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
16 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/ -> ...
15
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 ...
0
votes
0answers
16 views

Running a recent version of a installed program

I used brew to install newer version of swig a shortcut to newer version is available in /usr/local/bin, although when I run swig in terminal the older version runs. I imagine I need to add something ...
0
votes
0answers
33 views

Operating System Agnostic Symlink/Alias/Shortcut

I have a folder that I sync with online services such as Dropbox, that I sync to other computers with different operating systems. Part of my file/folder organization in this folder uses ...
4
votes
1answer
3k 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
28 views

How to backup created symlinks? [duplicate]

I have a number of symlinks created on my Windows 7 system. Is there a way to create a backup of all symlinks so after i reinstall Windows to restore them with one click and not recreate them one by ...
0
votes
0answers
16 views

Copy symlink inside directory structure

A part of our (huge) application can, as a fallback for test automation, be installed manually by developers on test computers. This means copying the contents of a folder to the target machine and ...
0
votes
0answers
21 views

Symlink.exe always asking for permission when creating a new directory

I use link shell extension for windows extensively, as it's a really neat tool. However every time I want to create a new folder on any partition of mine, symlink.exe asks for admin permissions. It ...
8
votes
2answers
6k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...
9
votes
2answers
9k views

rsync and symbolic links

I want to backup my home directory to an external drive nightly using a cron job to execute rsync. I am unsure of the exact behavior of rsync's symbolic link flags. rsync's -a flag includes the -l ...
0
votes
1answer
24 views

Removing Symlinked Fonts in Windows 7

I recently had a copy of Extensis Suitcase blow up on me and I need to delete some symlinked font files so I can remove my font vault. What's the best way to do this? Some links I was able to ...
0
votes
0answers
31 views

Linking files to be found by PHP server

What is the correct way to link local directory ~/dir to /path/dir, so that the PHP server looking for /path/dir/file.php will find ~/dir/file.php? In my concrete situation I am running XAMPP PHP ...
1
vote
0answers
35 views

Cannot access symlinked file on Apache server (403 Forbidden)

I'm running a minecraft server on my laptop, and I have created a symbolic link of /home/myuser/Documents/MinecraftSV/logs/latest.log to /var/www/html, but when I try to access it I receive a 403 ...
0
votes
0answers
13 views

Linux, file contents from Redis query

I want to make a linux file whose contents are the result of a Redis query. Why? I want to multi-tenant a LAMP app. The LAMP app's configuration is in a file. Rather than fiddling around with ...