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)

6
votes
2answers
5k 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 ...
5
votes
2answers
5k 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
17 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
20 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
13 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
7 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 ...
5
votes
3answers
6k views

How to create symbolic links to all files (class of files) in a directory?

I would like to create symbolic links (ln -s) to all files (or a class of files, e.g. ending with .bar) in a certain directory. Say I'm in the cwd and type ls ../source/*.bar gives me foo.bar ...
2
votes
0answers
15 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 | ...
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 ...
1
vote
2answers
39 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 ...
131
votes
1answer
62k 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 ...
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
20 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
29 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
29 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
24 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
53 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
53 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
26 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
313 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
21k 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. ...
2
votes
2answers
119 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
0answers
35 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
21 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
12 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
20 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
31 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
15 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
2k 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
13 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
435 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
43 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
18 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
61 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
45 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
60 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
25 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 ...