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
2k 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
1answer
29 views

How to prevent an app from removing symbolic linked files (Windows 7)

I have a folder z:\data on a network drive.. I have a local folder c:\work where the following symbolic link exists (created using mklink) c:\work\letter.tex => z:\data\letter.tex When I open ...
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 ...
1
vote
1answer
39 views

Time Machine backup to Google Drive folder? [closed]

My university uses Google Apps. With Google recently unveiling higher education customers will receive unlimited drive space, I want to take advantage of this to automatically backup my Mac. The ...
0
votes
1answer
23 views

Is it bad to create symbolic links from appdata and programfiles in windows 8.1?

I have a ssd, and the space is running low, so i'd like to create a symlink from C:\Program Files, C:\Program Files (x86) and C:\Users\Gabriel\AppData to D:\Program Files, D:\Program Files (x86) and ...
122
votes
1answer
57k 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 ...
1
vote
1answer
2k views

Unix Copy (cp) without Symbolic Links

I want to copy my files but convert the symbolic links to hard links (ie. the actual file). How can I do this? Here's my code (that isn't working): cp -RL ${FROM_DIR} ${TO_DIR} Note: this is for ...
0
votes
1answer
21 views

How to backup symbolic link paths?

Is it possible to backup and restore the created symbolic link paths? Where Windows 7 stores the data for the symbolic links? I looked in the registry but i couldn't find any data there.
0
votes
1answer
13 views

Creating a symbolic link between extentionless files

I’m running Windows 7 on one partition, and Windows 10 on another partition. I’m trying to use my Windows 7 hosts file in place of the Windows 10 one, since it has information in it used by XAMPP. ...
1
vote
1answer
35 views

Windows 8.1, Cannot relocate Users directory without windows failing to login properly

I'm trying to relocate my C:\Users\Me folder on my SSD to F:\Users\Me which resides on my HDD. So far I've tried two approaches. Registry Modifying the following registry keys in ...
0
votes
1answer
35 views

Deleting a Symbolic Link in Windows 7

If you delete a directory symbolic link in Windows 7, using explorer's right-mouse menu delete command, will you also delete the contents of the directory it points to? If you do, is there any way of ...
0
votes
1answer
54 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
11 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
69 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
9 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 ...
61
votes
7answers
98k 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
616 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
20 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
20 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
26 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 ...
0
votes
0answers
18 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
4k 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
26 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
69 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 ...
13
votes
2answers
331 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
182 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
50 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
15 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
46 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
190 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
27 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
62 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
849 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
39 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
18 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
23 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
58 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
32 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
12 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
3k 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
29 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
969 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
19k 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
213 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
376 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
31 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 ...