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

How can you run setup files from a symbolic link in windows 7

Create a symbolic link to a network software repository. C:> mklink /d Software \my.network\some\software Run C:\Software\MyProgram\Setup.exe It fails for most installations, including Visual ...
5
votes
1answer
203 views

No performance increase on I/O intensive operation after symlink to ramdisk

We have a system that transforms a set of several thousand multi-MB files. After every step in the transform, it writes the intermediate file to disk. The concept is similar to a scratch disk. We ...
1
vote
1answer
86 views

Symlink to a directory including the trailing slash and without

Is there any noticeable difference between symlinking to a directory including the trailing slash and doing it without, i.e. the difference in doing ln -s somedir/ dir vs. ln -s somedir dir whereby ...
0
votes
1answer
31 views

Symlink contents of a folder not the folder itsself

I am trying to create a symlink, this is a little scetch a |--b |--c |--d |-bunch of files |--e |-file1 I would like to make a symlink that links the contents of folder a, however i should ...
0
votes
1answer
359 views

Creating a Symlink in an NTFS share

I am currently on Arch Linux accessing Samba shares of an NTFS drive connected to a windows machine. I want to be able to create Symlinks from my Arch Linux machine in the Samba shares. I have googled ...
1
vote
1answer
353 views

NTFS symlink not syncing to target folder

In Windows 7, I've created a directory symlink in my SkyDrive folder that points to my My Documents folder. In other words, I have the following folders: c:\users\<user name>\documents ...
1
vote
1answer
203 views

Safety of redirecting System folders (e.g. : program files ,users,… ) using symbolic links?

Can redirecting system folders as mentioned above using symbolic links cause problems to the system or some applications? And is there any problem if I redirect the folders to another partition on ...
0
votes
1answer
124 views

Do symbolic links work both directions?

I created a symbolic link between a folder on my local computer and DropBox. If I modify files in the linked folder on Dropbox from another computer, will those new/modified files also be pushed into ...
1
vote
1answer
98 views

Fixing lost symbolic link status [closed]

I have a couple of soft symbolic links that have lost their link status and have become normal files containing link TARGET_FILE_LOCATION I searched quite a bit to find a way to restore their ...
2
votes
2answers
403 views

Make the contents of two folders appear in one

In Windows 7, I have three folders: "Images", "assets" and "all". I want the contents of "Images " and "assets" to appear in "all" automatically without copying those files into that folder (e.g. ...
1
vote
0answers
64 views

Registry and Symbolic Links When Formatting

I had moved a folder to another drive and then established a symbolic link with mklink (in Windows 7). Now I want to format the original hard drive that I linked to. I understand that the data on the ...
0
votes
1answer
406 views

Copying symbolic links and filenames with special characters to NAS

I have a new Western Digital My Book Live NAS. I am trying to copy files from an old drive to the NAS. I'm using Ubuntu 12.04 and I've mounted the drive by browsing the network in Nautilus and ...
1
vote
0answers
46 views

Make symlink on Windows of whole tree without modifying the original folder

I'm trying to do this: make a symlink of a whole directory "C:/Master", in different folders like "C:\Projects\Alpha\", "C:\Projects\Beta\" an so on. "Master" directory usually changes in files and ...
2
votes
1answer
682 views

How to delete a broken symbolic file link in Windows

So I have a file in a directory with an unicode name. I wanted to create a link to this elsewhere, but when I tried to do it with a command like mklink file "S:\ディレクトリ\target" in cmd.exe, the result ...
0
votes
1answer
430 views

Upgrading from Win8 to Win8.1 with a Users directory Symlink

I run 2 drives in my laptop, ssd and hdd. I created a symlink from C:\Users to D:\Users to save space on my SSD. During update to windows 8.1, I am prompted with this message: What can I do to make ...
0
votes
1answer
419 views

symbolic links gone after restart/upgrade

I can create symlink (something like that) and it works. Until next restart. How do I force iterm to restore symlinks? How do I preserve these after a system update?
0
votes
1answer
490 views

Mac: Moved Applications folder, can't install peripheral software?

Here's the Situation I have a Mac Pro, and it runs Mac OSX 10.7.4. For faster performance and startup speed, and an easier way for me to backup my files, I did the following 3 modifications: 1) I ...
4
votes
1answer
266 views

What kind of links (symbolic, hard, junction pts…) for multiple cloud backups?

Google-Drive's MS-Windows software doesn't follow links of any kind. Dropbox and Skydrive both - apparently, follow links. I am using MS-Windows7 64-bit professional edition. What I did was to move ...
1
vote
1answer
109 views

How to create a symbolic/soft link to a file not a folder

Im trying to create a symbolic link to a text file with directory: C:\users\me\textfile.txt where the shortcut is in the same folder (for simplicity) using command: mklink /d ...
1
vote
1answer
743 views

Accessing symbolic links in VirtualBox

How can you access files in folders that are links, on a shared folder in VirtualBox? For instance, I've got a folder named /home/mrlister/misc on my host computer, which is shared as ...
0
votes
1answer
171 views

Converting Windows batch to Linux script (Batch create symbolic links by first character)

As a noob to Linux and scripting I'm unsure as to how to convert this into a linux script or even where to start. Essentially I want to create a script that creates alphabetized folders A-Z, symlink ...
1
vote
1answer
297 views

trying to make symbolic link but have spaces in folder name

I'm trying to make a symbolic link via the windows command prompt. I am using a drop box-like service called Copy. it creates a new folder which it syncs to the web and other computers that it's ...
0
votes
2answers
73 views

Utility to create symlinks for all executables in the Start Menu?

It's really annoying in Windows that if you want to run about any third-party program from the command line, you either have to use its full path or manually add its containing directory to PATH. Is ...
1
vote
0answers
60 views

Running a symlink locally

I am running the same program multiple times over a linux platform. It is compiled at another server, and frequently updated, and it's uploaded over through rsync to all "hosting" servers, which do ...
0
votes
2answers
139 views

cd shortcuts: symbolic link to CDPATH dir

I found a solution to another question and posted here and wanted to implement it. On OSX, in order to create cd shortcuts, it advised creating a hidden folder with symbolic links, and then adding ...
2
votes
1answer
35 views

change several symlink destinations at once

Recently I changed my username in osx following apple documentation. I have sh and bin directories under home directory. Normally I write sh/foo.sh and link it to bin/foo to use it. After changing ...
0
votes
2answers
397 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
0answers
37 views

What do `Drop As…` options of `Link Shell Extention` mean?

After picking link source using Link Shell Extention as below snapshoot We have the below options to drop. What are their meaning? For folder For file
1
vote
1answer
662 views

Disk usage of a symbolic link

If I check the file size of a symbolic link by stat(), then it reports a nonzero file size equal to the link path string. But when I use du on the link, it reports a size of zero blocks. Is there a ...
1
vote
2answers
63 views

Need some help on creating sym links

Using Linux Centos 6 I have 16 years of data sorted in directories by year and then day (1997/001, 1997/002...). Each 'day' directory has 24 files, 1 for each hour, with hour name in each file (i.e. ...
1
vote
2answers
252 views

Easiest way to restore symbolic links turned into text files?

I had folders with many symbolic links in them. Unfortunately after copying that around different filesystems, they've turned into plain text files with the link target as the contents. That is: ...
0
votes
1answer
327 views

How to replace Windows My Pictures folder by symbolic link without breaking long folder name?

Windows lets you store current user images in a custom folder, %userprofile%\pictures, which appears as "My Pictures" under the picture library in the explorer left pane. I have My Pictures on another ...
1
vote
1answer
44 views

Cross platform softlinks?

I am using a scientific software that require softlinks to work with reasonable efficiency. However, I'd also like to sync my data, that must contain bare data from that software (i.e. not packaged ...
1
vote
0answers
351 views

Microsoft OneNote 2010 & symbolic links

OneNote uses a simple folder structure to organise its Sections and Sub-Sections - a Section is a file, a Sub-Section is a subfolder within the notebook which contains its own Section files. What I'd ...
1
vote
0answers
195 views

How to get Dropbox to sync changes inside a symlinked directory?

On Win 7 I have a symbolic link from inside the Dropbox pointing to an external directory which I'd like to sync. Upon the initial sym-linking and whenever restarting the Dropbox program, the sync ...
1
vote
3answers
207 views

How to copy MS Windows symlink files as is?

I made some symlinks in MS Windows using mklink /D command. But when copy it, Windows Explorer always perform deep copy instead copying symlink itself. How can I just copy the link? I need to send ...
2
votes
0answers
330 views

Can not cd into symlink on Debian 7

I want to give user webadmin full access to directory /usr/tomcat/webapps. So, I have created a symlink in webadmin's home directory to the target directory: lrwxrwxrwx 1 webadmin tomcat 28 Aug 19 ...
4
votes
2answers
6k views

How to create symbolic links to all files (class of files) in a directory?

I would like to create symbolic links (ln -s) to all files (or a class of files, e.g. ending with .bar) in a certain directory. Say I'm in the cwd and type ls ../source/*.bar gives me foo.bar ...
1
vote
3answers
645 views

How to create a link to an executable which must be run in its own folder?

I have a program inside a folder like below. The objective is to have a link in the utilities folder so I can call it from any command line. C:\Utilities\Program\ program.exe ...
2
votes
2answers
59 views

Is it necessary to exclude “both” symbolic linked folders in antivirus?

I'm trying to exclude a folder from antivirus scanning, and I'm wondering if it's necessary to tell the antivirus (MSE) to exclude both "folders" in order to truly exclude the actual folder? For ...
-1
votes
1answer
68 views

Does Windows 7 MKLink make a copy of the linked file?

Assume I make a softlink (symbolic link or junction) to a 50GB directory, it appears as if the "shortcut" folder is as same as target folder. Will Windows use 50GB more for the "shortcut" folder?
1
vote
2answers
194 views

How to copy all the files from a folder but the symlink

I'd like to copy everything recursively from a folder but the files symlinked from an other directory, how can I achieve that?
1
vote
1answer
176 views

How can I create a symbolic link from Windows that will work under Linux?

I have a ASUS O!Play HD media center hard-drive thingie. It has a 2TB hard drive which is formatted in NTFS, and runs some version of linux. The UI for this thing is awful, and every time I turn it ...
0
votes
1answer
986 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
1answer
340 views

Cannot cleanly delete symlinks

Problem: When deleting a symbolic link, traces of it remain in the filesystem. Demonstration: Use MKLINK to create a symlink pointing to E:\test Resulting output of DIR /AL /S C:\ | FIND ...
0
votes
3answers
761 views

How to separately count number of files, directories, symbolic links and hard links within a single find run?

To check a successfull migration I'm using find to count the number of files, directories, symbolic links and files with more than one hard link. As the directories to check contain a huge number of ...
0
votes
0answers
358 views

Modify a symlink

Is there a way to modify a symlink in place? ln -fs a b This doesn't count, since it is unlinking and creating a new symlink (neither is it atomic, but that's a different story). Research suggests ...
1
vote
1answer
856 views

How to copy directories into symbolic links using rsync?

I have directories and files locally and I want to copy them over to another box using rsync . The problem is that most of the data is already on the remove box, but not on the target disk. E.g., I ...
0
votes
2answers
65 views

How to search for broken links on the entire local file system of a server?

I have to do this in korn because bash is not installed. This is my script so far but it's not quite working as I expect. cd / find . -xdev -type d > /tmp/dirlist export YOURLIST=`cat ...
0
votes
1answer
40 views

Is it possible to know when you're “inside” a symlink?

In Windows, is it possible to know when you're "inside" a symlink? For example -- let's say I have a symlink at C:\foo\ that links to D:\foo. When browsing the C:\ drive and then double-clicking on ...