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)

6
votes
4answers
7k views

How can I make git commit files in a symlinked folder

I have two folders: /home/me/code/project/ /srv/www/projectfiles/ In the /home/me/code/project folder, I have symlinked static to /srv/www/projectfiles/ i.e. /home/me/code/project/static/ -> ...
0
votes
1answer
17 views

VirtualBox Vboxmanager not seeing VMs

I need to enable symlinks in my virtualbox shared file called sf_VMShare following this tutorial. When I run the command: VBoxManage setextradata YOURVMNAME ...
22
votes
2answers
19k views

View a list of symbolic links on system?

Is there a way to see a list of all the symbolic links that are active on a Windows machine?
0
votes
0answers
7 views

Share a 'Local' relative link to a Dropbox folder

We use Dropbox for business, so have extensive shared folders. I want to provide a direct link to a file, but via the local copy not by a web link. In the particular case it is under windows in an ...
0
votes
1answer
13 views

Setting up symbolic links so they'll work with winSCP or similar program

My user has a home directory /home/user1 I want her to be able to edit files in: /home/user2 So I put symbolic links in her directory so like this: sudo ln /home/user2/file.php ...
0
votes
1answer
35 views

Change location “Download” folder from CMD - Windows 8.1

I'm trying to change the location of the Windows download folder. I want to do from the CMD and not from "right click - Properties - Location - Find Target". I already tried with the symlink (mklink), ...
0
votes
1answer
31 views

strange soft link ln command issue on Mac

I want to create empty directory /Library/Java/JavaVirtualMachines/jdk1.8.0_5.jdk/Contents/Home/, which points to the real directory /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/, ...
6
votes
4answers
20k 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 ...
1
vote
0answers
28 views

Windows junction invalid on network share

I usually have this setup on my Windows machines: I share a single folder such as C:\share as network share. Then I use mklink /J somedir C:\somedir to create junction points to directories I want to ...
0
votes
1answer
36 views

Cannot figure out how to use this MKLINK (Yes I read documentation properly prior)

Basically I have this software that only validates my key if it's installed on the main drive (where the license is located in appdata). I have to install my files on the C, which i don't want. So I ...
8
votes
2answers
19k views

Ubuntu: Creating a symlink with network shared folder

I'm trying to create a symlink with a network shared folder (located in a windows sys) from my ubuntu system using the command. ln -s smb://sys-name/www www It creates a link but it says the link is ...
0
votes
1answer
25 views

centos - cannot create two symlinks to /var/www/html

I have two users chrooted to their home directories, that need access to /var/www/html. I tried to solve this by creating a files directory within their directories and in that files directory create ...
0
votes
0answers
7 views

How to migrate symbolic links from two folders?

I made a backup of "zimbra ce" rsync but I just realized that you have not copied symbolic links. I have a clean installation zimbra in /opt/zimbra/ and backup in /opt/zimbra_old/, how I can copy all ...
1
vote
0answers
10 views

SSHFS Permission Denied to symbolic link

I can mount a remote directory to /home/user/mnt and can see symbolic links via ls of that directory, but I cannot r,w, or x the links. I mount using the code below, using RSA key pairs for automatic ...
34
votes
8answers
59k views

Create a symbolic link in the Mac OS X Finder

Is there a way to get the same functionality as the unix command ln -s in the Mac OS X Finder (OS 10.5)? I want to be able to create symbolic links while working in Finder windows without opening the ...
3
votes
3answers
4k 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 ...
11
votes
2answers
8k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...
0
votes
0answers
9 views

How to make a symbolic link to an USB device under Windows? [duplicate]

Scenario: I use a PC running Windows (10). I run git. git looks up the directory %USERPROFILE%\.ssh for the private keys. Problem: I want to keep my keys on my removable USB drive. I can make a ...
0
votes
0answers
11 views

Link errors with symlinks

I've moved all the files of ./usr to an external drive /home/Linkados/usr (SD card 8Gb) using $rsync --progress -l -r /usr /home/Linkados/usr Then I created a symbolic link from my SD to my flash ...
0
votes
1answer
34 views

Too many levels of symbolic links

I want to simply link a source file to a destination file. However, I get Too many levels of symbolic links and don't know what is wrong with my files. Here are the information [root@cluster ~]# ls ...
4
votes
0answers
23 views

Why symlinks can slowdown git?

I keep my current working project on SSD drive but git folder inside is symlinked from another (encrypted) disk with mklink /J /D. SmartGit warned me that using symlinked git folder may have a ...
0
votes
1answer
13 views

Why does make install not update my symlinks?

DEAR FUTURE PEOPLE: When this happens, try adding --prefix=/usr/ or --prefix/usr/bin/ to the end of the command to invoke the config script. I thought that the entire point of including a ...
0
votes
1answer
78 views

Symbolic linking in Terminal (What am I doing wrong?)

I want to create symbolic links for all files in a folder parent/target/. I want the links to be in the folder parent/destination/. My working directory is parent/ for the following terminal output ...
0
votes
0answers
15 views

Apache and Symlinking

I have a WSGI python webapp running on my home computer, and the database it accesses has become too large for my root directory. I have moved and symlinked /var/www/html to /home/var/www/html (which ...
0
votes
1answer
22 views

Can't delete symlink with backslash or file extension in the name - Windows/IBM/Unix PHP

We created test symlinks from the PHP 5.2 symlink function running on IBM i AIX (Unix) PowerSystem 5 (OS400 V7R1M0) but with backslashes or the file extension in the name (like .pdf), and are unable ...
1
vote
0answers
35 views

Windows: Is a symlink to NUL (or \\.\Device\Null) possible?

I have an application at hand, which insists on writing huge amounts of log lines into a file, that I have to clean out manually all the time. Is it possible to somehow replace the file with a ...
3
votes
0answers
32 views

Apache fails to display/follow symbolic links

I'm running apache v2.4 to host a personal web site on my office mac mini running OS X 10.10. The basic site is working fine but its throwing the 403 forbidden access error when I add symbolic link to ...
1
vote
0answers
17 views

symbolic links that will not break even after copying [duplicate]

I want to create a symbolic link which will not break even after copying the entire directory( which includes the link and its target) in a pendrive/sd-card and using the pendrive/sd-card in other ...
2
votes
1answer
733 views

Have Yum update vmlinuz, initramfs symlinks in /boot automatically (Fedora)

Whenever Yum updates the kernel, there's a new set of (vmlinuz* initramfs*) files in /boot and the Grub config is updated to directly point to those new files. Where is the setting that will force ...
0
votes
0answers
22 views

Backup symlinks to files with bacula

I use Bacula to backup my files, but there are some symlinks that pointing to files I do not backup, how can i tell bacula to backup the files under symlinks, I know that for folders /. should be ...
3
votes
1answer
92 views

Symbolic link doesn't work across drives

I'm on Windows 10. Running the command: mklink /D "G:\test" "C:\test" ...Is successful. However, in explorer when I double click the folder on G:\ and try to access any file in there, it says ...
2
votes
1answer
26 views

Cannot change files after creating a symlink in Windows 8.1

I created a symlink in Windows 8.1 (to point my documents folder to dropbox). Since then I am no longer able to write or delete contents in that folder. I always get an access denied error (but I am ...
0
votes
0answers
27 views

How to delete D symbolic links. I messed up pretty bad

my disk space was low so i moved my documents and downloads targets to my flash drive in order to play sims 3, that was pretty successful. At the same time i think i used a mklink d to make make a ...
0
votes
0answers
65 views

Error creating mklink on SoftwareDistribution folder

I'm trying to create mklink for Windows 10 updates to be stored in my HDD instead of SSD where Windows are installed. I use net stop wuauserv command to stop the service and mklink /j ...
0
votes
0answers
9 views

Is it possible to create a user-dependent link to a network folder?

This is, I guess, more of an academic question, but is it possible to create a link at common pointing to the user's network-home directory? So, when user A follows this link, it points to ...
1
vote
0answers
41 views

Can't get symbolic links to work with the mklink command in cmd

I'm trying to create a symbolic link in cmd (yes, I have admin privileges) like this: mklink /D "G:\test" "C:\test" The command runs without issue: "Symbolic link created for G:\test <==> ...
1
vote
0answers
48 views

Hardlink on same drive gives error about different drive

I'm using mklink /h to create a hardlink from "d:\some folder" to "d:\some other folder" and Windows 7 is telling me "The system cannot move the file to a different disk drive." But it's NOT a ...
1
vote
1answer
33 views

unable to remove symbolic links of rsync copy of /bin and /dev

I accidentally made a rsync copy of my root directory, "/" using the -a option, as follows: user@mycomputer:~$ rsync -a / /backup-dir user@mycomputer:~$ ls -l /backup-dir/ total 10102784 drwxrwxrwx 1 ...
4
votes
1answer
873 views

Is it possible to have shortcuts appear in the start menu search through a symbolic link?

I have a folder full of stuff that I sync across all my computers and virtual machines. It contains a whole load of stuff, including portable applications. On a new OS installation, I run a batch ...
0
votes
1answer
538 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
1answer
139 views

Operating System Agnostic Symlink/Alias/Shortcut

I have a folder that I sync with online services such as Dropbox, that I sync to other computers with different operating systems. Part of my file/folder organization in this folder uses ...
3
votes
2answers
97 views

File sync service supporting symbolic links

I wonder if any of the mainstream sync services (e.g. Dropbox and the likes) is able to sync relative symbolic links among the synced folders correctly. And by supporting I mean uploading and ...
0
votes
1answer
26 views

File Operations Using Symlink Source/Destination

I've created a set of symlinks which I can use in BASH with CDPATH: 'desk' which points to my desktop, and 'docs' which points to my documents. I can cd using these symlinks cd docs without problems, ...
9
votes
5answers
13k views

Windows 7 / Symlinks - How do I copy a Symlink to a directory?

Is it possible to copy a Symlink to a directory in Windows 7. When I try to copy a symlink'd directory, it tries to deep copy the contents to the location.
-1
votes
1answer
29 views

Can I hardlink my desktop folder to a different partition so I can put big files on it?

Correct me if I'm wrong, but a hardlink is esentially like a shortcut that can trick applications to think it is a real folder. It allows you to specify an application to point to a shortcut to save ...
1
vote
1answer
193 views

WIndows 10 & symbolic links problems

I have a dual boot configuration composed of Windows 7 and Windows 10. Both are configured a C: disk as system and D: as data disk, which includes Users directory. And I have also another (physical, ...
1
vote
0answers
33 views

How to configure Windows 7 firewall outbound rules for symlinked applications?

I'm using Windows 7 Ultimate. I have set the built in firewall in outbound white list mode (block unless allowed by a rule). Now I'm trying to configure some outbound rules for the built in ...
1
vote
2answers
8k 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 ...
8
votes
2answers
29k views

How to find all soft links (symbolic links) in current directory?

Question relates to shell-scripting in bash. How to check with a script which files within the current directory are soft links? In case I have used the wrong term, when I say soft links, I am ...
0
votes
1answer
54 views

How to allow ftp user acess folder outside his root directory?

I am trying to create an ftp user that will have access to several folder on public_html but I don't want him to get access to all folders in public_html. Just to the specific ones. Here is the ...