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
0answers
14 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
4 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
32 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
14 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
22 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
16 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
23 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
33 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
25 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
5 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
17 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
34 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
22 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
41 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
12 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
81 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 ...
1
vote
1answer
24 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
12 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
55 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
44 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
72 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
38 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
49 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
27 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" ...
0
votes
1answer
243 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
89 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
54 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
17 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
62 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
145 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
31 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
60 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
38 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
486 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 ...
1
vote
0answers
38 views

Is it safe to move C:\Users and add a symbolic link\junction?

I am using Windows 8.1 and the Users directory has got a bit big (22.2Gb). I'd like to move it off the SSD and onto the massive HDD. Is it safe to replace is with a symbolic link from the SSD to the ...
1
vote
1answer
217 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
1answer
17 views

Is there a way to set the symlink attribute for a file in Linux?

I have a directory that I moved from a Linux file system to an NTFS file system and broke all of the symlinks. Moving them back didn't fix the problem because all the symlinks are now very small files ...
0
votes
0answers
58 views

Share Firefox History and Bookmarks without using Firefox Sync

I'm using Tor Browser 3.5.3 having Firefox 24.0.0 ESR and another Firefox 29.0.b1 . I want to have my Web Browsing history, Bookmarks to appear in both the TOR and standard Firefox. Inbuilt Firefox ...
0
votes
1answer
34 views

Inheritance system for folders (symlinks?)

Okay, here's the scenario. I have a base folder "Base" that has a blank, multipurpose template. However, this template is 12 gigabytes. I want to be able to have an inheritance system where linked ...
0
votes
1answer
121 views

Can't create symlink on Windows VM's mapped network drive

I have a Server 2008 VM (Parallels 9), and I share a folder from OSX via a mapped network drive "T:". I am trying to make a symlink from one folder on T: to another folder on the same drive, like so: ...
0
votes
1answer
340 views

Windows 8.1 - Failed Symbolic Link Caused Windows To Be Unable To Log In

I was needing to have my Users folder on my Hard Dive instead of my SSD where my Operating System is. However, after following the answer provided by @2mc56 on a Microsoft Community question, I was ...
0
votes
1answer
23 views

Not able to reference softlinks in a script

we have couple of softlinks to scripts a directory in our current directory. Let's take we have two softlinks , script1 and script2. We are referencing script2 from within a script1 like below. . ...
0
votes
1answer
30 views

Apache trying to access directory that doesn't match symlink

I've got a symlink like so: /home/site1/public_html/site2 whereby site2_symlink was set up like this: ln -s /home/site2/public_html/ site2 and I have follow symlinks turned on in my Virtual ...
1
vote
1answer
33 views

Show one folder's content in other folder

My question is about Linux. I have 2 folders - /home/user/first and /home/user/second. In the /home/user/first there are some files. The second folder is empty. What I want to do is to have ...
0
votes
1answer
16 views

Should I make `emacs` a symlink or environment variable?

When I apt-get install emacs I can just type emacs and it launches. But I decided to replace the apt repository version (23 currently) with the latest stable release (24.3). Now, I'd still like to ...
0
votes
0answers
40 views

Symlinks, junctions and copys to preserve data in Dropbox

I am trying to outsmart Dropbox here but I'm losing the battle so far. I am running a windows shell extension that allows symlinks, junctions, smart copys, smart mirrors, delorean clone, hardlink ...
1
vote
1answer
51 views

SymLink only works in the same directory

user@laptop ~ $ sudo ln -s ~/Games/JA/openjk.i386 ~/Desktop/JA user@laptop ~ $ readlink -f ~/Desktop/JA /home/user/Games/JA/openjk.i386 As you can see, the symlink points to the file, but when I try ...
1
vote
3answers
186 views

Link My Documents folder to external SD Card

I have a laptop with 120GB SSD (limited space) and a 64GB SD card in the laptop. I have cloned my hard drive from a clean install of all the software installed. I would like to have the My Documents ...