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
0answers
477 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
214 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 ...
3
votes
5answers
841 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
429 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 ...
11
votes
3answers
12k 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
1k 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
66 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
85 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
285 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
286 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
2k 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 ...
1
vote
1answer
447 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
1k 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
879 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
1k 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
69 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
43 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 ...
9
votes
1answer
262 views

When should I use hard links as opposed to soft links?

I'm about to start toying around with mklink but I'm still trying to get a real grip on this whole "symlink" thing. In particular, I've noticed there's two types of links - "soft links" and "hard ...
0
votes
1answer
60 views

Can I track files in two git repositories simultaneously?

I've got two repositories set up for a class I teach, one outward-facing with demo and example code, and one to track changes I make to the class manual. I've written the manual in LaTeX Listings ...
3
votes
1answer
250 views

How can I clone a directory structure with symbolic links (in-tact, also duplicated)?

We use Kiln for our source control; and back it up by copying the KilnRepositories folder to another (local) drive while the services are all stopped, and then on to a network drive afterwards (the ...
2
votes
2answers
151 views

Do virus scanners scan symlinks?

If a virus scanner (like Microsoft Security Essentials, for example) comes across a symlink'd folder, will it follow through and scan that respective folder, be it on another drive (and how every many ...
1
vote
1answer
1k views

Creating an 'alias' or 'symlink' to a separate folder in apache

-/ |--bin |--home |--user_1 |--somefile.html |--somefile2.html |--user_2 |--differentFile.html |--var |--www |--file1.html i want the urls to be ...
0
votes
1answer
476 views

How do I know if a symbolic link in Windows still works?

I have lots of symbolic links (Windows 7). How do I know if they are working or if they are dead (that is, the original file has been deleted/moved/renamed)? I tried if not exist mylink.txt ...
2
votes
0answers
67 views

Time Machine backs up symbolic links that haven't changed

Lately I've noticed that my Time Machine backups are taking a very long time. I recently replaced my boot drive, and I thought the problem might have been due to the way I reconnected the drive to the ...
2
votes
3answers
734 views

OSX: would it be possible to create a symbolic link that points to /dev/null e.g. a black hole directory

OSX: would it be possible to create a symbolic link that points to /dev/null e.g. a black hole directory. I Work at a help desk and we need to sanitize a directory just in case data gets into it at ...
1
vote
1answer
77 views

symlink's Last access time does not updates in windows 7

I am stuck around with a problem which is something as follows: i have a symlink at my desktop and the original file is in my local partition (Say D: drive) whenever i update the original file, ...
0
votes
1answer
162 views

Creating a file through a dangling symlink with vi

This is the content of my typescript file, /mac>ln -s non_exist ~/link /mac>vi ~/link Hi! I am a link. /mac>cat ~/link Hi! I am a link. /mac>cat non_exist cat: non_exist: No such file or ...
0
votes
0answers
257 views

Symlinks are lost after running rsync to sync two directories

I have two identically named directories with similar subdirectories and I would like to merge the contents of one into the other. I'm trying to use rsync to do this and I'm finding that symlinks ...
5
votes
1answer
2k views

How to properly create symbolic link?

scenario : I'm in a place that is not in PATH I have a file name dofoo that is executable I want to create symbolic link in /usr/bin that points to dofoo in current directory quite hard to get the ...
4
votes
1answer
6k views

NFS: too many levels of symbolic links. How to find and fix?

wim@wim-desktop:/media/data/dots/manouche$ ls > /dev/null ls: reading directory .: Too many levels of symbolic links wim@wim-desktop:/media/data/dots/manouche$ find . -type l -exec ls -l {} \; ...
0
votes
1answer
85 views

Should symlinked programs be put on drives with fast write speeds?

When deciding where to symlink-move a program, should it be to a drive that has a fast write speed, in lieu of program's needing to cache/write to disk? OR, if/when a program needs to cache to disk, ...
3
votes
2answers
7k views

How to run a symlink pointing to an executable in terminal (Linux)

I installed NodeJs on an Ubuntu machine, and the package have been installed as nodejs. Now, to run it as node, I created a symlink: sudo ln -s /usr/bin/nodejs /usr/bin/node This will work if I ...
1
vote
0answers
26 views

Windows 8 Command Prompt Symbolic Link Accident [duplicate]

So I totally messed up. I was trying to create a symbolic link for the program Sticky Notes to create a path. I was trying to type: mklink /J “%APPDATA%\Microsoft\Sticky Notes” ...
2
votes
1answer
119 views

Can I create a symlink or similar that returns a random file from a set every time?

Say I have files foo-a.wav, foo-b.wav and foo-c.wav on disk. I have a piece of software whose interface allows me to enter the name of a single sound file; every time a certain feature of that ...
1
vote
2answers
1k views

Is it possible to create a subfolder inside a symlink folder but not be added into the parent folder?

Is a very tricky question, sorry about that Base on this Folder A file1 file2 Folder B ( symlink of Folder A (softlink) ) file1 file2 that i want to do is create a folder or file inside my ...
2
votes
0answers
309 views

adding symbolic link to os x finder sidebar

I'd like to add a symbolic link to the OS X finder sidebar, but when I do so the sidebar follows the link and creates a direct link to the target folder. This is not what I want, the reason I use a ...
1
vote
0answers
48 views

Can I add ADMX files via symbolic links?

Is it possible to add Group Policy templates (ADMX files) on a local Windows 7 machine by creating a symbolic link (soft link) in the C:\Windows\PolicyDefinitions folder that points to an ADMX file ...
2
votes
2answers
2k views

cp -H vs cp -L (What is a “command-line” symbolic link?)

My OS states the following in the man page of cp: -H follow command-line symbolic links -L, --dereference always follow symbolic links I am having difficulty figuring out what ...
0
votes
2answers
930 views

Trying to create a Symbolic link between Sublime Text 2 and Subl

As the title says, I'm trying to create a sym link for my Sublime_text launcher, I did: sudo ln -s /path/to/sublime_text /usr/bin/subl and when I ls /usr/bin the blue subl link is there. Then I ...
0
votes
2answers
299 views

Can I create a single ftp to access multiple network locations

I have an ftp server setup using FileZilla Server and 5 application servers which each have a backup folder that is shared. On the ftp server I have setup symlinks in the root ftp directory that ...
2
votes
2answers
143 views

Symlink bash autocomplete

If I typer unrar-nonfree and double tap tab, I get the usual autocomplete result: michaelxu@michaelxu-server:~$ unrar-free / backup.sh initrd.img.old mxx.lock tmp/ bin/ ...
1
vote
1answer
626 views

What factors might prevent this symlink from working as intended?

I'm on a Windows 7 64-bit machine, and I've been trying to get a symlink set up to some rather hefty files so that I don't need to use twice the memory (two different applications need to access these ...
3
votes
1answer
658 views

Hard symbolic link directory

I am taking over control of a server and I have found a directory in two different locations: /var/www /home/user.name (i.e., ~/) that have the exact same inode number: ls -i 11895253 ...
0
votes
3answers
288 views

How to give access to user for specifig directory?

I made symlink when logged in as www (apache user): ln -s /home/anotheruser/test /var/www/test Now I go to my mydomain.com/test and I get a 403 error. /home/anotheruser/ has permissions 764 ...
1
vote
2answers
2k views

Why is this archive failing to create symlinks?

When I extract the archive Symfony_Standard_2.2.1.tgz using this command: $ tar xzf /home/tomas/downloads/Symfony_Standard_2.2.1.tgz I always get the errors: tar: doctrine.php: Cannot create ...
0
votes
1answer
50 views

Vim With Windows+Symlinks and a sandbox directory

I have a large project, and I have to work in and switch between a few directories often. My solution was to symlink all the files that I want to get to quickly into a sandbox directory. I just ...
1
vote
1answer
166 views

Windows SymLink Questions: How do I tell if a file is symlinked /

I'm not exactely sure how to phrase my questions, I'll describe what I'm doing, perhaps my misconceptions will show. I'm on windows 7. I symlinked files that I'm working on in a project to a sandbox ...
3
votes
1answer
135 views

launching applications from the Windows command prompt?

Is there a Linux methodology to include .exe files symbolically to a location referenced by the %PATH%? The process seems trouble free on Linux, but when attempting to do similar actions via mklink on ...
1
vote
1answer
212 views

Am I failing to foresee an issue with a cygwin symlink to Windows's python.exe?

Should be an easy question. I have a windows version python 2.7 at C:/Python27/python.exe and I also have cygwin's installation at /usr/bin/python -> /usr/bin/python2.7.exe. This means that when I ...
1
vote
2answers
375 views

Show all symbolic links in a -> b format for 1 directory and sub directories

As title. How can I see a list of symbolic links in the format A -> B starting from a specified directory including all it's sub directories? This is on a Mac by the way.