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
123 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
67 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
144 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
45 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
206 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
40 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
856 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
301 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
95 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
24 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
122 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
1k 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
38 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
135 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
55 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 ...
1
vote
1answer
2k 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 ...
2
votes
0answers
43 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
574 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
19 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
102 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
36 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
240 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
748 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
24 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
39 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
36 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
19 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
53 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
57 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 ...
2
votes
3answers
289 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 ...
0
votes
0answers
55 views

How to get OSX/Linux to recognize Windows Symlinks

When connecting to a Windows share through OSX or Linux, symlinks are not properly recognized. They either appear as aliases with no target, or as folders with no permissions to access. At this point ...
0
votes
1answer
26 views

Using shortcuts to create identical file structure

I've got a Debian based OS with TV shows spread over multiple disks but the series are not all on the same disk. For example, Show1 has 10 Season, Season 1,2, 4 and 5 are on Disk1, 3, 6 and 8 on ...
0
votes
1answer
254 views

Have Yum Update vmlinuz, initramfs Symlinks In /boot Automatically (Fedora)

Whenever Yum updates the kernel, there's a new set of (vmlinuz* initramfs*) files in /boot and the Grub config is updated to directly point to those new files. Where is the setting that will force ...
0
votes
0answers
274 views

Windows 8.1 Quick Link Menu not working

The problem is the links not working. The menu does come up, but clicking on any button does nothing. I upgraded from Windows 8 to 8.1 through Windows UpdateI was originally using the default ...
0
votes
2answers
54 views

Is there a way to disable resolving symlinks for OSX 'open' utility?

Suppose I have file called a.txt and another file b.txt which is a symlink pointing to a.txt. I also have my own developed application which is set as a default application for .txt files. Now when I ...
0
votes
0answers
78 views

Perforce, UAC, and symlinks on Windows 7/8

I've met with the following interesting behavior; I'd appreciate if someone could explain the mechanics behind: When I get the source via Perforce, and it contains a symlink (for example as part of ...
0
votes
1answer
34 views

Is there software/program that can bulk symlink a bunch of files? What about a shell script?

I have like a couple hundred different files I want to symlink, is there any program where I can select all the files I want to symlink (keeping the same file name in the symlink destination) and then ...
0
votes
0answers
26 views

Remove Windows link associations from recursively linked files (created by mistake)

So, because of Windows' bone-headed reverse syntax and the generally piss-poor command line utilities, I accidentally created several hundred recursive links on files in many directories and nested ...
0
votes
0answers
120 views

How can I create hardlinks to an OSX bundle? Or the symlinks inside the bundle?

I have a hierarchy of files that I need to hardlink to a temporary install location. Some of those files are frameworks. Frameworks are bundles but essentially just folders, which aren't supported by ...
1
vote
0answers
32 views

Apache2: having trouble setting new projects

I just installed LAMP on Linux Mint 15 and ran into troubles when setting up my projects. First I tried putting a symlink into the /var/www directory that points to the project folder in my home ...
0
votes
1answer
107 views

Create symbolic link in Windows 7 for Google Chrome storage

Google Chrome, and for that matter all Google apps are eating up my hard drive space. I want to tell Chrome to use some other directory for storing all the data. I followed the technique of adding ...
4
votes
2answers
245 views

How to move target a Windows shortcut points at and allow existing shortcut work?

I would like to do the following: Create a shortcut to a folder (say mLink.lnk --> C:\tmp) This will be emailed to users Move and/or rename the folder (C:\tmp --> C:\tmp2) Setup intermediate step ...
0
votes
1answer
249 views

Linux symbolic links not showing in Windows over FTP

I have set up my Raspberry Pi as a storage server. It has a 2TB disk attached to it via USB and I installed ProFTPd to provide access to it. CIFS/Samba had too much overhead, eating away all of the ...
0
votes
1answer
46 views

How can I get Chrome multiple users to recognize symlinked extensions?

I have multiple Chrome users. To save time and space on extensions that are the same (state / prefs / etc) across all users, I've symlinked most extensions (e.g. Profile 4/Extensions/xyz -> ...
0
votes
2answers
427 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
2answers
49 views

How is it that symbolic links can be used across different filesystems, and hard links cannot?

How is it that symbolic links can be used to link across different filesystems? And why is that hard links cannot be used across different filesystems?
1
vote
2answers
154 views

Creating symlink for C:\Program Files

Is it possible to create a symbolic link in Windows that redirects C:\Program Files to another drive?
0
votes
0answers
71 views

Hard drive corrupts when in use and appears as RAW after reboot

At the moment all of my steamapps folder is on a separate drive connected via a symbolic link. Last week while in game the program crashed and would not quit, even after terminating from the Task ...
0
votes
2answers
60 views

How to hide the destination of a symbolic link

Say for instance I want to link the following two directories with a command like this: ln -s /home/usertwo testdir When I click ls, in the directory where this link is created, i will see ...