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
26 views
+50

Apache NTFS symlink linux

I have a dualboot system with a common NTFS drive. I wish to store my files there and run from there. I ran into several roadblocks and cleared most of them. Here is what I am facing. I have set my ...
0
votes
0answers
7 views

Soft links behaving badly in OS X

I have a very small open source project used to help people with speech disabilities communicate. You can see a working version here and the github for the whole project is here. I'm currently ...
0
votes
1answer
729 views

Creating symbolic link to new location after moving C:\Windows\Installer to D: partition

I am trying to make some space on my C: partition, an SSD drive, by moving the C:\Windows\Installer partition to the D: drive (following this guide). The last step is: Launch a Command Prompt (as ...
0
votes
0answers
13 views

HRef File links in Firefox and Chrome

Hope someone can help. I know the Firefox file link topic has been done to death but I think I have folowed the rules and still get no joy. I have the following that I need to show all related ...
0
votes
0answers
14 views

GNU tar treatment of symbolic link timestamp

I need to use (GNU) tar to move a directory tree from one Linux machine to another, and I want symbolic links to remain symbolic links. I did it with just the usual command line options (cf and xf). ...
0
votes
0answers
12 views

Symlink to a nonexistent drive in Windows

When I try to create a directory junction to a windows drive that does not yet exist, I get the following message: C:\>mklink H H:\ /J Local volumes are required to complete the operation. I ...
0
votes
0answers
40 views

Temporary Profile created after symlinking moved appdata folder

I have an SSD B and a HD C. My windows installation is on B. I originally had my entire user folder symlinked onto C. I wanted faster access to my appdata folder so I logged onto my admin account in ...
0
votes
1answer
19 views

What is the difference between creating a junction point and going to folder properties and changing the location?

I was reading up on how to maximize the lifespan of an SSD and they mention creating a junction point for the directories most written to on the SSD. I found that junction points just creates a second ...
0
votes
1answer
15 views

Duplicate filename with _0001, but zero file size

I have, somehow, created many duplicates of some files, they end in _0001.php for example. I might have done this while trying to crete symbolic links. The sym links work, but I now have these files. ...
0
votes
2answers
1k views

TortoiseSVN ignore symlinks

I have a project on my Windows 7 machine that contains symlinks. When I try to commit the project to an SVN repository TortoiseSVN fails with "Symbolic links are not supported on this platform". ...
0
votes
1answer
9 views

Symlink directory into an existing directory (merging files)

I have a ghc directory containing ghci.conf: $ tree ghc ghc └── ghci.conf 0 directories, 1 file And ...
1
vote
2answers
2k views

Symbolic link or Junction to a Networked Samba Share

I have a samba share mounted as a network drive. However, I can't make any sort of symbolic link or junction point to it. Is this possible? When I try the following command: mklink /D X:\Samba\dir ...
1
vote
1answer
24 views

Linux/Bash: Create relative soft links to files in directory tree?

I'd like to make links to all files in a directory tree. Which means, create the same directory structure and make the links in them to the respective subdirectory in the original dir. That could be ...
1
vote
0answers
15 views

What archivers support symlinks on Windows? [closed]

I'd like to back up and restore directory trees that include symlinks created with "mklink /d" on Windows 7. Are there any free & open source archivers that support windows symlinks? winrar 5.1 ...
6
votes
2answers
323 views

How to make a symlinked folder appear as a normal folder

I have two Dart applications I need to dockerize. These two apps use a shared source directory. Because Docker prevents adding files from folders outside the context directory (project/app1) I can't ...
22
votes
3answers
17k 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?
3
votes
1answer
2k 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 ...
0
votes
1answer
30 views

Why has my symlink stopped working? - OS X

A while ago I noticed my symlinks in OS X Mavericks weren't doing anything. On closer inspection, Finder was showing them as flat files. If I opened them in a text editor I simply saw a relative path ...
1
vote
1answer
69 views

How can I create symbolic links in Windows 8.1 without an admin command prompt?

I am hoping that someone can correct me where I'm going wrong when trying to create a symbolic link in Windows 8.1 without having to run cmd.exe as administrator. Whenever I try to create a symlink ...
0
votes
0answers
29 views

Symbolic Links to a subfolder

Problem This is my directory structure F:\dir\lev1\lev2\lev3 Consider there are files at every level of this directory structure. I'd like to create a Symbolic Link in F:\dir to the directory ...
1
vote
2answers
44 views

Can't get symbolic link creation permissions to work under windows

I am trying to grant my user the privileges to create symbolic links. I ran secpol.msc and navigated to Local policies -> User rights assignment -> Create symbolic links. I have added my user's ...
3
votes
2answers
678 views

Changing Windows public folder in batch script

I've installed Steam on an external hard drive so I can play games on different computers by just moving the drive around. Since save games are often saved in My Documents or AppData, but I want them ...
1
vote
1answer
891 views

Ubuntu symbolic link the content of a folder

I have two folders such as nonserved/ folder1/ folder2/ and a served folder via Apache media/ js/ css/ img/ In the end, I want to include/append contents of /nonserved to ...
109
votes
1answer
50k 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 ...
2
votes
2answers
305 views

shell utility to check if directory is an ancestor to a file

How can I check that a given regular file of path f is a descendant of a directory of path d. If not for symlinks, I would just check if d (with a trailing slash) is prefix to f. Now with symlinks ...
0
votes
1answer
34 views

Restore a file overwritten with ln -nfs?

I accidentially "deleted" a file by doing this: ln -nfs /path/to/file In my understanding the data itsself should still be there. I also stopped working on the machine as I did this shit... Is it ...
2
votes
3answers
4k views

Batch Update Symbolic Links Recursively

I have a web app that has a bunch of symbolic links in subdirectories throughout it. I need to move the app to another directory structure, and I need to update all the symlinks to point to the new ...
0
votes
0answers
25 views

permission differences from mac finder vs terminal ssh

I am hoping that some of you Super Users can help me. I am working in an unix environment. /g/typas/Manuel>uname -a Linux submaster 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 ...
0
votes
0answers
30 views

Handling symbolic links in c include path

I'm compiling some software that uses the socket.h library. Make fails with this: In file included from /usr/include/sys/socket.h:38:0, from com/etsy/net/UnixDomainSocket.c:9: ...
0
votes
2answers
55 views

ls -lrt showing file which is not present

When I do ls -lart in my current working directory it shows lrwxrwxrwx 1 root 10004 36 Dec 16 17:59 index.html ->/home/moviebeam/assets/ui/index.html But I cannot see contents of the ...
4
votes
1answer
110 views

Fun with symbolic links and `notepad.exe` (replacing default notepad application in Windows 7)

I'd like to change my default notepad program from notepad2 to notepad++ (but my question is more complicated than just that so please don't stop reading!) When making the change from notepad to ...
0
votes
0answers
12 views

Do “child object” ACL changes through Explorer traverse junctions/symlinks?

Does the option to.. "Replace all child object permission entries with inheritable permission entries from this object" ..traverse through symbolic links and junctions? I'm trying to debug ...
2
votes
1answer
1k views

Move files from EXT to NTFS preserving symbolic links

When I try to move lots of files from an EXT partition to an NTFS partition in Ubuntu, it complains about "Filesystem does not support symbolic links", and fails. Of course NTFS does support symbolic ...
10
votes
3answers
7k views

Executing symbolic link to exe - “The specified path does not exist”

When trying to execute a symbolic link which points to an exe file (on Windows 7), the "Open with" windows appears. When renaming it to a ".exe" file, it says "The specified path does not exist. Check ...
0
votes
2answers
347 views

Hide files in unix without changing their name (adding the dot) so that scripts that use them still work [duplicate]

Short version: I want to be able to prevent certain files from appearing in the output of ls, without adding the dot, and thus changing their names. Long version: Recently, I moved a bunch of scripts ...
0
votes
2answers
35 views

Create symlinks from files in new folder, but not folders

I would like to create symlinks from all files and files in the sub-folders in a new folder. So, it makes a new folder, and in this new folder it mirrors the actual folder structure from the source ...
0
votes
2answers
300 views

Create a Symbolic link to the merged contents of 3 folders [duplicate]

I have 3 folders with large amount of data in each which has to be maintained seperately. Can I create a sym link or shortcut.in windows which should show me the merged contents of the 3 folders. I am ...
0
votes
0answers
10 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. ...
0
votes
2answers
47 views

Invisible file with a specific real name - can't list it, delete it or create new file of that name

I seem to have an 'invisible' folder that I can't see or delete, but is blocking a 'real' file from being created. I'm in a vagrant box (Ubuntu 14) I was trying to install ...
0
votes
0answers
15 views

Using Junctions (or directory link) to mirror profile for two different domains?

I have a weird setup at work. My computer is linked to two domains, one's the primary domain which I'm logged into 99.9% of the time. The other domain is primarily for SQL Server management (and ...
0
votes
1answer
56 views

How to view all the Symbolic links,Junction points,Hard links in a Folder using dir?

The command dir /a displays a list of all the files,folders in a given location. But it displays the type for Junction Points as well as Symbolic Links to Folders. Is there any command which will ...
0
votes
1answer
45 views

moving symlinks to another drive

i have a list of symlinks to commonly used files by me in a directory located on my flash drive h:\ referencing to files in c:\ drive i want to move the contents of my h:\ drive into c:\, and when i ...
0
votes
0answers
23 views

Replace Symlinks with Real File in Windows

So I recently began using Kickstrap for a new project, and I've discovered that while Kickstrap successfully compiles and puts all the files in the right place, any files that end up identical are ...
5
votes
5answers
17k views

Windows Server 2008 Create Symbolic Link, updated Security Policy still gives privilege error

Windows Server 2008, RC2. I am trying to create a symbolic/soft link using the mklink command: mklink /D LinkName TargetDir e.g. c:\temp\>mklink /D foo bar This works fine if I run the command ...
0
votes
1answer
139 views

Homebrew install gdb, symlink error with binutils

I'm trying to install GDB via Homebrew on OSX Mavericks via the command brew install homebrew/dupes/gdb. This error message pops up during install: gdb requires special privileges to access Mach ...
37
votes
3answers
5k views

What are the various link types in Windows? How do I create them?

Is it possible to link two files or folders without having a different extension under Windows? I'm looking for functionality equivalent to the soft and hard links in Unix.
0
votes
1answer
346 views

apache 2.4 permissions issues (forbidden)

This is driving me nuts! Just installed Ubuntu 14.04 with Apache 2.4.7. I've found a ton of posts on this issue but nothing seems to work. I do have ACLs enabled, but neither -b (removing entry) or ...
2
votes
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 ...
0
votes
0answers
17 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
73 views

How to change the address at FAT(or similar) to change the location of file?

I have a huge file which is about 67 GB is size. It takes a long time to move this file from one drive to another. So is there a way, from which I can change its memory address(I dont know the ...