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)

1
vote
2answers
88 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
2answers
800 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 ...
3
votes
2answers
3k 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 ...
2
votes
1answer
332 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 ...
1
vote
1answer
563 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 ...
1
vote
1answer
143 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 ...
0
votes
1answer
98 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
0answers
63 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 -> ../../../...
0
votes
2answers
181 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
1answer
380 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 ...
2
votes
1answer
155 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 symlinks/...
0
votes
1answer
31 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
25 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 ...
0
votes
0answers
95 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
115 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 ...
2
votes
0answers
21 views

Is is possible to create symlink inside another symlink?

I have the below folder structure: My Windows Machine |-- E: | -- myphotos <== link to ==> \\192.168.0.10\\myphotos | |--...
0
votes
1answer
59 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 ...
2
votes
1answer
375 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 ...
1
vote
1answer
115 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
159 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 ...
2
votes
1answer
149 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 ...
1
vote
2answers
321 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, ...
2
votes
1answer
466 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 ...
0
votes
1answer
117 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 ...
0
votes
1answer
75 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
424 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 ...
2
votes
2answers
1k views

Windows symlink to executable - does not open by double click

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
117 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
59 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 ...
1
vote
0answers
107 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 ...
2
votes
0answers
126 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 ...
1
vote
1answer
3k 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
107 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 D:...
0
votes
1answer
39 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
63 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
311 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
66 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
87 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
1answer
14 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 ...
1
vote
1answer
75 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
29 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
65 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
1answer
186 views

Windows path substitution

Is there a command for Windows 7 and Windows Server 2012 R2 where you can perform a file system path substitution? I have a SQL server database that has the following file paths hard coded: C:\...
1
vote
2answers
60 views

Why doesn't this Linux symlink work?

I'm trying to create a symbolic link for the file logs inside home/dir1/ to the file netlogs inside home/dir3/. The link is created but when I try to look at the contents of netlogs I got this error ...
12
votes
2answers
416 views

Can a file system's logical structure (including symlink targets) be represented in a single lightweight file (non-binary)?

After playing with multiple SQL and NoSQL databases over the years I feel the best way for me to ensure portability in my personal apps that are data-centric is to avoid all bonafide databases ...
0
votes
2answers
31 views

How do I copy a file with accompanying symlinks in Linux?

Expected scenario: $ ls -lh /lib/libcurl.so* lrwxrwxrwx 1 root root 16 Mar 26 2013 /lib/libcurl.so -> libcurl.so.4.0.1 lrwxrwxrwx 1 root root 16 Mar 26 2013 /lib/libcurl.so.4 -> libcurl....
0
votes
0answers
76 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 ...
2
votes
1answer
180 views

Apache NTFS symlink linux

I have a dualboot system with a common NTFS drive. I wish to store my files there and run from there. I ran into several roadblocks and cleared most of them. Here is what I am facing. I have set my ...
1
vote
1answer
124 views

Symlink to a nonexistent drive in Windows

When I try to create a directory junction to a windows drive that does not yet exist, I get the following message: C:\>mklink H H:\ /J Local volumes are required to complete the operation. I ...
0
votes
0answers
81 views

Temporary Profile created after symlinking moved appdata folder

I have an SSD B and a HD C. My windows installation is on B. I originally had my entire user folder symlinked onto C. I wanted faster access to my appdata folder so I logged onto my admin account in ...