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
2answers
13 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
10 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
37 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
13 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
15 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
18 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
14 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 ...
-1
votes
0answers
30 views

How do you setup Work Folders with shared folders for multiple users?

We currently have Work Folders setup at my company to act like a private Dropbox system to protect the data stored on the remote devices. Everything is working great. Our next challenge is to setup ...
0
votes
0answers
18 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
votes
0answers
36 views

Windows script to copy files from C:\ to Backup B:\ but leave a SYMLINK copy back on C:\

I have a particular way to "backup" my stuff, in that I copy everything large (movies) etc from my main drive C:\ to an external backup drive B:\. Then make a SYMLINK of the file on B:\ back to C:\, ...
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
20 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
48 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
34 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
25 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
24 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
25 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
49 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
33 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
7 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
31 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
38 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
28 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
62 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
16 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
88 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
26 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
81 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
49 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
95 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
43 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
61 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
29 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
458 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
144 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
68 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
19 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
78 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
307 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
78 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
800 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
39 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
355 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
18 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
71 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 ...