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)

2
votes
1answer
46 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 ...
2
votes
1answer
996 views

Apache allow access to symlink

Please help me figure this out, I'm out of options what to even google. No idea why this apache configuration is not working as I expected. <VirtualHost *:80> DocumentRoot ...
2
votes
1answer
42 views

Can I create a “symlink-esque” file to “merge” two files together?

I'm dealing with an application that reads a config file, config.yml, from the current directory. This config file contains both secret information (API keys) that shouldn't be checked in to source ...
2
votes
1answer
68 views

How do I delete symlinks from a Windows folder with a batch file/script?

How do I delete all symlinks and only all symlinks from a folder with a batch file/script? The folder is c:\wamp\www, and this is what I've tried: Content files delete.cmd for /f "delims=" %%D in ...
2
votes
1answer
2k views

Apache 2.4 don't follow all symlinks

I'm configuring my local Apache webserver after a fresh Kubuntu 14.04 install. Apache version is 2.4.7. I usually work with files located in a separated partition (/dev/sdb6 here), and create ...
2
votes
3answers
313 views

Link My Documents folder to external SD Card

I have a laptop with 120GB SSD (limited space) and a 64GB SD card in the laptop. I have cloned my hard drive from a clean install of all the software installed. I would like to have the My Documents ...
2
votes
2answers
55 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 ...
2
votes
1answer
132 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
1answer
69 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 ...
2
votes
2answers
108 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/ ...
2
votes
1answer
79 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 ...
2
votes
1answer
129 views

How to create Symbolic Link chain in Windows?

I am trying to create multi-level symbolic links in Windows 8, but only the direct (first level) symlink seems to be working. If I try to use the second level SymLink, i get errors. i have been using ...
2
votes
1answer
1k views

Convert Linux symlinks to Windows symlinks

I've noticed that Linux symlinks don't work in Windows, and vice-versa. Is there any way to convert Linux symlinks to Windows symlinks? Specifically, I want to convert relative Linux symlinks to ...
2
votes
2answers
213 views

How to remove a duplicate symbolic link

I accidentally created a link to a folder in the same directory with the same name as the folder, and I'm not sure how to safely remove it without removing the actual folder. # ls -l total 4 ...
2
votes
2answers
924 views

How to copy relative symbolic links and keep targets

My situation has 2 directories: /blah/d01 and /blah/d02 $ls -l /blah/d01 a/ b/ c/ fa -> a fb -> b fc -> c and I want to copy fa, fb, fc to /blah/d02, and as a result: $ls -l /blah/d02 fa ...
2
votes
1answer
512 views

Generate a list of files by piping output of find command into another find command?

I need to generate a list of files for use in a shell script. The list should be all files (in a specified directory) that are hardlinked. I want to replace the hardlinks with symlinks. (Obviously, ...
2
votes
1answer
15k views

Batch File - Delete Shortcut From ALLUSERS Desktop

In Vista/7, if I try to delete a shortcut using the following command -: del "%allusersprofile%\Desktop\MyShortcut.lnk" ...Windows sees this folder as empty and doesn't delete the file. The ...
2
votes
1answer
257 views

OS X: prevent Finder/File Chooser from following directory symlinks

I have a have a symlink foo in /Users/myaccount which points to /Volumes/foo. In the Finder or file chooser, the symlink does not show up as directory, so I can't expand it to select ...
2
votes
2answers
555 views

A sync method that creates symbolic links?

Does anybody know of an sync app that can produce symbolic links rather than copying the files? Or what would a (Windows) batch script look like that does this? If a script is the solution, I want to ...
2
votes
2answers
1k views

Can I move Windows 7 C:\Users more easily using 2 installs of Windows 7? [duplicate]

Possible Duplicate: Moving users folder on Windows Vista/Seven to another partition I am trying to move my Windows 7 C:\Users folder off of my 64GB SSD onto another drive (A partition on an ...
2
votes
1answer
1k views

Move files from EXT to NTFS preserving symbolic links

When I try to move lots of files from an EXT partition to an NTFS partition in Ubuntu, it complains about "Filesystem does not support symbolic links", and fails. Of course NTFS does support symbolic ...
2
votes
1answer
737 views

Symbolic link modification for HP unix

I'm trying to modify the following in order to rename some symbolic links: find /home/user/public_html/qa/ -type l \ -lname '/home/user/public_html/dev/*' -printf \ 'ln -nsf $(readlink %p|sed ...
2
votes
1answer
1k views

Perforce and how to create symbolic links on samba share in Windows

I am using Perforce and have Workspace of project under Linux. The project contains many symbolic links. I have no problems with Perforce and the symbolic links as long as I work on Linux. However, if ...
2
votes
1answer
2k views

Windows 7 on SSD using Symlinks

for my new desktop computer i want to buy a (smaller) SSD drive and put Windows 7 64bit on the SSD and only the most used stuff. And a second (bigger) normal HDD on which everything else goes. What is ...
2
votes
1answer
104 views

Would it be okay to share Firefox's user.js between Linux and Windows?

Would it be okay to share Firefox's user.js between Linux and Windows (using a symbolic link in Linux)?
2
votes
0answers
44 views

Is it safe to move C:\Users and add a symbolic link\junction?

I am using Windows 8.1 and the Users directory has got a bit big (22.2Gb). I'd like to move it off the SSD and onto the massive HDD. Is it safe to replace is with a symbolic link from the SSD to the ...
2
votes
1answer
436 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 ...
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 ...
2
votes
0answers
320 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 ...
2
votes
0answers
57 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
1answer
779 views

Symbolic Links to an Existing Folder

I'm trying to synchronize two folders on two different computers to my Dropbox folder on their respective machines. So for example: XP: C:\Dev -> C:\Documents and Settings\username\Dropbox\Dev OSX: ...
2
votes
1answer
280 views

Symlink all files but copy certain extensions

I'm wondering how I'd be able to symlink all the files in a dir structure and then also copy files of a certain extension in that dir. I'm basically symlinking all files within /foo/a,b,c to ...
2
votes
1answer
276 views

symbolic link on folder created every day

I've this structure 2011-04-18T07.32.19UTC 2011-04-19T07.32.19UTC 2011-04-20T03.15.01UTC Every night, a new directory based on the current date is created. I would create a symbolic link on the ...
2
votes
2answers
858 views

Moving folders into a Truecrypt volume on Linux and using symbolic links for them

I've been running Linux Mint for a couple months and now I want to apply some encryption to certain data-sensitive folders. I've read that Ubuntu has an installation option to encrypt everything in ...
2
votes
0answers
462 views

Cannot change permissions in symlinked dropbox directory in Ubuntu 10.10

Title pretty much says it all, but here's what I'm doing... ls -l produces this... drwx------ 1 brian brian 4096 2010-12-28 14:19 foldername -rw------- 1 brian brian 0 2010-12-28 15:54 index.html ...
2
votes
1answer
703 views

Accessing files obscured by filesystem mounted at non-empty directory

I wish to mount a volume/filesystem at a non-empty directory, yet still retain access to the directory's contents. Is this possible? I know that a filesystem can be mounted at a non-empty directory ...
2
votes
1answer
513 views

The fastest way for relinking a directory

I use a Gentoo Linux, and I'm currently moving my /usr/portage (portage's database, containing thousands of small ebuild files), /var/tmp/portage (portage's compiling directory), and /var/tmp/ccache ...
1
vote
4answers
2k views

Ubuntu - Create a link to a specified directory so I can easily change to that directory

Is it possible to create a symlink to a directory, like /var/lib/tomcat6/webapps/MyWar that I can access from everywhere? I want to be able to say cd myapp from anywhere in the directory tree and go ...
1
vote
2answers
942 views

Windows hard link taking up space?

On my computer I create a hard link mklink /h git-link.exe git.exe Hardlink created for git-link.exe <<===>> git.exe Now they both take up space 2012-04-17 12:14 AM 6,905,039 ...
1
vote
3answers
2k views

Zipping files in OSX, want to 'resolve' symbolic links

I have a number of directories, they're all demos of web scripts I have created, the important fact is they all share resources. So I have created a global resources directory and symbolically linked ...
1
vote
4answers
6k views

Why doesn't my symbolic link work?

I'm trying to better understand symbolic links... and not having very much luck. This is my actual shell output with username/host changed: username@host:~$ mkdir actual username@host:~$ mkdir proper ...
1
vote
2answers
24 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
2answers
2k views

Access is denied on mklink

I am trying to get a symlink working over a network drive. I have already tried suggestions on questions already asked, such as running as administrator and checking if the directory already exists. ...
1
vote
2answers
149 views

Is there something like hardlinks that split into separate files on modifications?

Let's say files orig and copy are huge but identical files. In order to save storage space one could therefore either make copy a soft-link to orig or hard-link both files to the same data. orig must ...
1
vote
1answer
645 views

How to find source of a symbolic link?

Say fileA is a sym link to fileB. I have only fileB at hand and want to find all files that are sym links to fileB. Is there a command to show this in *nix?
1
vote
2answers
764 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 ...
1
vote
1answer
498 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
453 views

Is there a method to find how many soft links point to certain file?

SSH is a soft link (symbolic link or symlink) to dropbear. I want to know how many files are soft linked to dropbear. Is there any method to find how many soft links point to certain file? It would ...
1
vote
2answers
48 views

Is it safe to replace a folder with a partition mounted to that folder n Windows 7?

I know most programs won't notice the difference, but is it true for e.g. virtualization software like VMware? I'll give you an example: Let's say my virtual machines are in C:\_VM\ My C: space ...
1
vote
2answers
2k views

How to stop Windows 7 Built-in-Backup creating a System Image of too many drives?

I do not want to include (D:) drive in the image. I believe I know the cause of this, it's because I have some Directory Junctions and/or Symbolic Links. Any suggestions other than removing the ...