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
30 views

VIM Crashes/Freezes on specific files Mac OSX Mavericks

I've recently switched over to using VIM and use a friends .vimrc that works well for him https://github.com/dtothefp/dotfilesv2/blob/master/vim/vimrc.symlink I first installed vim through Homebrew ...
0
votes
1answer
9 views

Why isn't apache following my symbolic links?

I need to link to a directory from /var/www/html to a directory within the home directory of a non-su user. The operating is CENTos, the server is apache. The config file for the directory is ...
0
votes
1answer
12 views

How to delete broken symbolic links

I have a case where a lot of symbolic links remain after the original file was deleted. It was the result after leaving a Jenkins installation saving all build logs until the number of available ...
1
vote
1answer
17 views

What does Windows Backup do with symlinks?

I'd like to use Windows Backup to backup my Documents folder, but I have very large datasets which I have several symlinks to in my Documents folder. These datasets are backed up elsewhere, so I don't ...
1
vote
1answer
24 views

Can symbolic links be used for website URLs?

I'm developing a new website to replace our old website. The URL the dev site is 11.22.33.44/~abc/ (not that IP exactly) because that's what Host Gator gave me to use. Once complete, I'll change DNS ...
0
votes
1answer
14 views

Linux - make install without replacing symlinks

I recently (and foolishly, since there is a simple solution here, had I set --prefix= option to something other than it's default /usr/bin) configured and maked gcc-4.9.1, without setting the ...
0
votes
2answers
17 views

Share configuration files between two users

I have a program which will be used by two users. It saves it data in $HOME. Is it possible to share the config files (or only one of them - the database) between two users? My idea was a symlink. ...
0
votes
1answer
11 views

Workaround to create a “link” to a relative path

I've got a zip file in which is presente a folder containing another subfolder containing the executable. I would like to create a link to the executable but links take only absolute path.. So I ...
0
votes
3answers
43 views

Linux Bash — how to know which directory I really am in with symlinks?

suppose I have a symlink chain A -> B -> C when I type pwd, it could show me in A, B, or C depending how I get here. How do I show the physical directory address, i.e. not represented by any ...
0
votes
0answers
22 views

Which direction should symlinks for Dropbox go?

I've been using Dropbox to keep files such as .bashrc and .inputrc in sync between multiple computers. The way I have been doing this was to have the files located in the dropbox folder and then ...
0
votes
0answers
23 views

Is there a way to copy Userprofiles with Robocopy and keeping the junctions symlinks?

In the Internet you read a lot of Tips how to copy your userprofile with robocopy safely from Recoveryconsole. The usually recomend robocopy source target /xj..... The problem with the /xj switch ...
0
votes
0answers
31 views

brew link error - installing freetype for Circos

I am wanting to use Circos and have been following a tutorial on how to do the initial setup. (http://kylase.github.io/CircosAPI/os-x-installation-guide/) I went to use: $brew install freetype and ...
1
vote
1answer
18 views

Persistent mapping of folders per Windows user?

We have a legacy application that lives in C:\APP, which is hard coded to look only in that directory for its config. The current setup is that there's a central server which is essentially a ...
0
votes
0answers
21 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 ...
0
votes
0answers
17 views

Locate all references to a certain hard disk

Every time I got a new machine or increased the memory capacity I used to add and add more and more hard disks to the latest machine. Now I have several disks of old data (e.g windows installation, ...
1
vote
0answers
29 views

Add external volume app folder to Launchpad

I have a primary volume and secondary volume which I store apps on in a folder called HDD Applications. Launchpad only looks at the /Applications folder on the primary drive for apps. How can I get ...
0
votes
2answers
49 views

Broke most Linux computer functions with bad symlink

I'm using 64-bit Crunchbang, which is Debian-based. I was trying to fix a certain problem with libc6, and naively followed the advice of an askUbuntu answer (link) that made me run the following ...
0
votes
1answer
67 views

Apache allow access to symlink

Please help me figure this out, I'm out of options what to even google. No idea why this apache configuration is not working as I expected. <VirtualHost *:80> DocumentRoot ...
0
votes
1answer
28 views

Symlink two real directories with files in both

I have two directories, with files in both of them: ./read/pub/ |- file1 and ./write/pub/ |- dir1/ |- file2 |- file3 I need to create a symlink so that all the ...
1
vote
1answer
28 views

Trouble creating real NTFS links using Cygwin

I have administrator privileges and would like Cygwin's ln -s to make NTFS links instead of the fake !<symlink> files that only Cygwin understands. I tried the following, based on Cygwin ...
0
votes
1answer
26 views

Is there a way to catch all invokations of hardlink creation and replace them with symbolic links?

Assume I have a program or build script (consider it a blackbox) which is creating hardlinks and run on Linux (Debian 7.4). If I want to experiment and find out whether the program would work with ...
1
vote
2answers
66 views

Apache won't follow symlinks even with permissions set

I can't get apache to follow symlinks outside the web root directory, even though permissions look OK and FollowSymLinks is on. The details are below. I have two world-readable text files: /tmp/hello ...
0
votes
0answers
35 views

Windows Symlink & Copy

I am trying so desperately hard to map a drive to sharepoint online with little success. (I have tried everything possible to get this working.) Closest I have got is being able to make a shortcut to ...
0
votes
0answers
10 views

grant create-symbolic-links on win7hp (which doesn't have gpedit.msc)?

I want to be able to symlink target directories for all the usual reasons, on win7hp, for which gpedit.msc is apparently not available at all now. Best hits I can find are Permission to make symbolic ...
0
votes
0answers
36 views

Creating Windows-compatible symbolic links from a Mac

I have a Windows Server 2012 where I would like to create symbolic links that work for both Mac (10.9) and Windows (7) users. I have a dummy text file called org.txt containing "Hello, World!". ...
1
vote
1answer
39 views

Link a folder to another folder without using space

I want to link one folder from a part of the drive to another folder that syncs it with Box, retaining the original copy and without using any additional space. Shortcut files don't work, so I am ...
1
vote
1answer
30 views

realpath (GNU coreutils 8.22) does resolve “.” symlink regardless of “-s”

I'm trying to use realpath in a script which has to ensure that it is located under a certain (possibly symlinked) path. Also the script has to be runnable from any location, so it cannot presume that ...
0
votes
0answers
102 views

mklink /j vs mklink /d on multiple machines and with file shares

I'm starting to use cloud sharing solutions (e.g., Dropbox, SpiderOak) to backup and sync files between various machines I use. When doing this I've decided to place all my backups under a given ...
1
vote
0answers
18 views

ESXi and ghettoVCM - rotate weekly backups to (2) different drives

I am using ghettoVCB to perform VM snapshot backups on an ESXi server. ghettoVCB has a config file that stores parameters for performing the backup. One of the parameters is the destination path, ...
2
votes
1answer
96 views

Starting programs from terminal then exiting terminal exits started programs?

I really was unsure how to phrase the question title. What I mean is that when I use the terminal to start a program, most of the time when the terminal is closed it also exits the programs started ...
2
votes
1answer
30 views

Can I create a “symlink-esque” file to “merge” two files together?

I'm dealing with an application that reads a config file, config.yml, from the current directory. This config file contains both secret information (API keys) that shouldn't be checked in to source ...
0
votes
0answers
13 views

Limit SymLink level scanning to just 1 when copying files on Windows

Consider the following directory structure: D:\RealFolder1 D:\RealFolder1\RealFolder1A D:\RealFolder1\RealFolder1A\SymLinkToRealFolder2 D:\RealFolder2 D:\RealFolder3 ...
0
votes
0answers
27 views

Symbolic link types [duplicate]

What are the differences between different types of symbolic link in Windows? The Microsoft website tells me; /d Creates a directory symbolic link. By default, mklink creates a file symbolic link. ...
1
vote
2answers
97 views

Removing shortcut overlay icon from symlinks only

I have recently started using symlinks to organise my folders on my PC but I do not like the Windows shortcut icon overlaying the link. I have seen tutorials for removing the icon from shortcuts (I ...
0
votes
1answer
55 views

Replace files with symlink

This question is intended to be the inverse of Replace Symbolic Links with Files, but for windows. I have started running out of space on my SSD drive, and I found that about 12% of used space is in ...
1
vote
1answer
111 views

Why doesn't XCOPY copy my junctions?

I'm trying to copy a Users Directory with XCOPY, but parts of it are not working. (I'm running as Administrator, in a command prompt which was started with Run As Administrator) The user directory ...
0
votes
1answer
44 views

How can I create a “copy on change” copy of a folder in linux?

I have a set of tools for building a very large project. At several high level stages my tools create copies of the build environment (a directory) to allow the user to roll back to that point. I ...
0
votes
1answer
76 views

How to create symlink on OSX?

I would like to have 2 folders with almost the same content - all subfolder, all files should be the same except 2 files. If I change something in one folder (file content, create new file, delete ...
0
votes
2answers
35 views

Can mklink make portable links?

Is there any way to create portable links in NTFS using mklink? Or it there a better solution? I want to be able to distribute an application in a zip file or folder copy where there is one "real" ...
3
votes
1answer
614 views

Why is chattr and lsattr resulting in “Operation not supported while reading flags”?

I'm getting the following error: $ lsattr /etc/rc.local lsattr: Operation not supported While reading flags on /etc/rc.local $ sudo chattr +i /etc/rc.local chattr: Operation not supported while ...
0
votes
0answers
29 views

folder dropped as junction, & then; add folder within junction to serve as physical folder (same directory)

when we are talking about junctions, it's a folder from another location serving a purpose in a specific location as a shortcut. I have this setup with one of my folders, but I want to have just one ...
0
votes
1answer
181 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 ...
0
votes
1answer
75 views

Windows Vim symlink config file persistent error

I'm trying to configure the native Windows Vim/gVim and the Cygwin Vim/gVim to behave nicely together. To this end, I created symlinks, ~/.vimrc and C:\Users\<myusername>\_vimrc, that both point ...
0
votes
0answers
21 views

Windows symbolic link detect change

I'm using programs that have settings.ini files. Normally when I change the file, the program detects the change and updates. But if settings.ini is a symbolic link, no programs ever detect when it ...
1
vote
2answers
87 views

Make a symlink in bash with two relative paths

I have two directories in my home: ~/dir1 and ~/dir2 with a file in the first: ~/dir1/file.txt Is there any way that I can make a symlink to it from ~/dir2 without moving to ~/ and if not why is that ...
3
votes
2answers
611 views

How to change a symbolic link to a directory to another target?

# ln -sv /path/to/target /path/to/link ‘/path/to/link’ -> ‘/path/to/target’ Now I want to replace that target with target2: # ln -sfv /path/to/target2 /path/to/link ‘/path/to/link/target2’ -> ...
0
votes
0answers
34 views

Can't sync Firefox custom dictionary

I used to be able to sync the Firefox custom dictionary (persdict.dat) using Dropbox by creating a symbolic link between the Firefox profile folder and the Dropbox folder. I haven't used Firefox for a ...
0
votes
1answer
102 views

how to change directory in ubuntu

I'm trying to change the directories of a symbolic link. ln -s /usr/local/mysql-cluster-gpl-7.1.5-linux-i686-glibc23 /usr/local/mysql When I type command cd /usr/local/mysql it is giving me error ...
2
votes
1answer
43 views

How do I delete symlinks from a Windows folder with a batch file/script?

How do I delete all symlinks and only all symlinks from a folder with a batch file/script? The folder is c:\wamp\www, and this is what I've tried: Content files delete.cmd for /f "delims=" %%D in ...
0
votes
1answer
1k views

Apache 2.4 don't follow all symlinks

I'm configuring my local Apache webserver after a fresh Kubuntu 14.04 install. Apache version is 2.4.7. I usually work with files located in a separated partition (/dev/sdb6 here), and create ...