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

Launch program from commandline without .exe

I have added, in this case, the wireshark directory to my env var path and can type "wireshark.exe" from anywhere on my system to launch the program. I would liek to be able to type "wireshark" or ...
0
votes
0answers
4 views

Redirect SVN repository working path via symlink to shared network folder provided by vmplayer

My setup is the following: Host environment with backup software. Very lightweight so i can restore it with ease. Virtualized development environment - Host needs format? not a problem, Reinstall ...
0
votes
0answers
68 views

Make a specific program see the file-system differently on Windows

I'm using Winamp since god knows when. I have all my songs in the media library with all my mp3 files with all kind of cool statistics like how many times I've listened to each song, ratings etc. The ...
0
votes
1answer
6 views

Reverse a default flag

As a context. I have a folder which I have symlinked into my $HOME directory. ~> ls -s /var/www/to_link "$HOME/linked" I cd into "$HOME/linked" So, by default, pwd shows the current directory ...
60
votes
7answers
95k views

How to copy symbolic links?

I have directory that contains some symbolic links: user@host:include$ find .. -type l -ls 4737414 0 lrwxrwxrwx 1 user group 13 Dec 9 13:47 ../k0607-lsi6/camac -> ../../include 4737415 ...
0
votes
2answers
531 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
15 views

Go to directory of symlink file target

How can I create a command (or alias) to go to the directory which contains the target file of a symlink. For example, if I have a symlink symFile@ -> /Users/zhermes/some/dir/someFile I'd like ...
0
votes
2answers
18 views

Replace Referenced files with Symlink

I have a git repo I am working with that has files and folders that need to be symlink to files and folders inside another folder. All of the symlinks are refrenced as text in the second projects ...
0
votes
1answer
25 views

nodejs and npm will not work on existing project directory

So, the issue here is that I installed the Node.JS on c:/app/nodejs while my projects are under c:/app/www. I tried to use a dynamic symlink of www inside /nodejs, but it did not work out. I also ...
1
vote
2answers
1k views

Change many symbolic links at once?

I have about 40 symbolic links in a directory that look like this: lrwxr-xr-x 1 anna staff 45B 22 Jun 11:20 menu-bg-left.jpg -> ../../../../../hg/www/images/menu-bg-left.jpg lrwxr-xr-x ...
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
0answers
14 views

Difference in performance between Directory symlinks and Junctions [closed]

Is any of Directory symlink and Junction faster and/or cheaper for computer resources? Directory symlink mklink /D ... Junction mklink /J ...
0
votes
0answers
16 views

Using utorrent server with symbolic links

Recently I installed the utorrent-server (version 3.3) on Ubuntu (ver. 13.04) so I could have a familiar UI to work with when I'm not using my Windows laptop. It seems to work fine for the most part, ...
4
votes
1answer
3k 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
0answers
22 views

I have created a symbolic link I can't delete (command line OS X, windows share)

By accidental use of the ln command I have created a symbolic link file which I can't delete. It's on a Samba share I have access to. I have tried deleting it in various ways, command line, mouse ...
1
vote
2answers
64 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 ...
-1
votes
0answers
15 views

How to handle ini-files for Homebrews

When installing MySQL and PHP with Homebrew, it puts its config files in version specific folders: /usr/local/etc/php/5.5/php.ini /usr/local/Cellar/mysql/5.6.21/my.cnf Thereby it effectively ...
13
votes
2answers
317 views

Can a file system's logical structure (including symlink targets) be represented in a single lightweight file (non-binary)?

After playing with multiple SQL and NoSQL databases over the years I feel the best way for me to ensure portability in my personal apps that are data-centric is to avoid all bonafide databases ...
1
vote
2answers
177 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
36 views

Windows path substitution

Is there a command for Windows 7 and Windows Server 2012 R2 where you can perform a file system path substitution? I have a SQL server database that has the following file paths hard coded: ...
0
votes
0answers
14 views

Symbolic Links and Folder View

I have symbolic links set up for some folders on a Win 7 machine. When I use windows explorer and navigate to the real folder it has the correct view (large icons) for pictures, but when I navigate ...
1
vote
2answers
45 views

Why doesn't this Linux symlink work?

I'm trying to create a symbolic link for the file logs inside home/dir1/ to the file netlogs inside home/dir3/. The link is created but when I try to look at the contents of netlogs I got this error ...
1
vote
3answers
180 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 ...
0
votes
2answers
26 views

How do I copy a file with accompanying symlinks in Linux?

Expected scenario: $ ls -lh /lib/libcurl.so* lrwxrwxrwx 1 root root 16 Mar 26 2013 /lib/libcurl.so -> libcurl.so.4.0.1 lrwxrwxrwx 1 root root 16 Mar 26 2013 /lib/libcurl.so.4 -> ...
2
votes
1answer
57 views

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
811 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
27 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
15 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
20 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
47 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
31 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 ...
1
vote
1answer
17 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. ...
1
vote
2answers
2k 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
11 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
27 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 ...
6
votes
2answers
666 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 ...
23
votes
3answers
18k 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?
0
votes
1answer
146 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
170 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
30 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 ...
3
votes
2answers
681 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
894 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 ...
115
votes
1answer
54k 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
308 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
44 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
34 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
59 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: ...