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
1answer
20 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 ...
3
votes
1answer
832 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
471 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
106 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
60 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
20 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, ...
8
votes
5answers
12k 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
20 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
48 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, ...
0
votes
0answers
12 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
7k 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
33 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 ...
1
vote
0answers
26 views

Use Junction or symbolic link to “rename” NTFS directory

I was wondering (indeed it would be very useful) if it is possible to use NTFS Junction, symbolic link or something like that to use an alias for some directory, and at the same time to hide the ...
0
votes
2answers
16 views

looking for list of symlinks in Dropbox folder - find syntax not working

I am trying to move my Dropbox folder from an External Drive to a different External Drive. I was getting error messages that files couldn't be moved and according to Dropbox tech support it's ...
0
votes
0answers
13 views

Running fsck.ext3 removes symlink to device

I have an external usb drive for which I have udev create the symlink /dev/externalbackup when it is plugged in via the following rule: KERNEL=="sd?1", ATTRS{idVendor}=="0c0b", ...
1
vote
1answer
3k views

Mac client on AD domain - individual folder redirection

I'm trying to configure a home network with Windows 2008R2 and Windows 7 / Mac Mountain Lion clients. I have a separate NAS drive, which I want to host all home folders as well as a central store of ...
0
votes
2answers
244 views

Windows Vim symlink config file persistent error

I'm trying to configure the native Windows Vim/gVim and the Cygwin Vim/gVim to behave nicely together. To this end, I created symlinks, ~/.vimrc and C:\Users\<myusername>\_vimrc, that both point ...
0
votes
1answer
15 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 ...
2
votes
2answers
3k 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 ...
3
votes
1answer
41 views

creating symbolic links on networked drive

I'm trying to better organize my public folder at work and I need to maintain old links that I have emailed to people in the past. I'm thinking of creating symbolic links so that I can maintain those ...
36
votes
3answers
17k views

Does rm -f follow symbolic links?

I have a directory like this: $ ls -l total 899166 drwxr-xr-x 12 me scicomp 324 Jan 24 13:47 data -rw-r--r-- 1 me scicomp 84188 Jan 24 13:47 lod-thin-1.000000-0.010000-0.030000.rda ...
0
votes
0answers
18 views

rsync “file has vanished” for broken symlinks when --del is used

I'm using rsync on a Synology NAS to make daily hardlink-snapshots from all shares. To have a off-site backup, I'm copying the local backup away. Due to performance, only the newest backup is copied ...
6
votes
2answers
5k views

Checking where a symbolic link points at in Windows 7

In Windows 7, how can I check if a file is a symbolic link or not, if a folder is a junction or not, and how can I check where they are pointing at (in case they are symlink/junction). Both in ...
0
votes
1answer
25 views

How to Count Hard Links, Symbolic links, and Junctions on an Ntfs Volume

I know of some programs that claim to count one or the other, but I don't know of any that can count all three. I would like to count all three and print out a list like so: Hard Links: 123 ...
0
votes
0answers
17 views

Windows 7 better shortcut link tracking

If I move the target of a shortcut to somewhere else on the same drive or just rename it, Windows will figure it out and update the shortcut. If I move it to another drive, Windows will lose the link. ...
3
votes
1answer
24 views

Robocopied Junction not Showing Icon? Robocopied Symbolic Link also Not Showing Icon?

I'm not familiar with how robocopy handles junctions, symbolic links, and hard links. I tried to copy one of each, and I noticed the icon that shows over a junction and symbolic link does not seem to ...
1
vote
2answers
59 views

Are symbolic links in /usr/local/bin to scripts in users home directory a security risk?

When I want a script (usually bash or python) to be executable from anywhere in my folder structure, I tend to put a symbolic link into /usr/local/bin. Thus, I don't have to recopy the script every ...
0
votes
1answer
17 views

Jump Drive Letters in Web Server URL

We have an internal only web server. Let's call it 'blink' 'blink' is running Windows Server 2008 R2 Standard 'blink' has a D: drive with a folder structure of D:/path/to/file.filetype The web ...
10
votes
2answers
12k views

How do I change target of symlink in windows

Is it possible to change the target of a symlink or junction in Windows? In Linux it can be modified with: ln -f
0
votes
0answers
26 views

How to create a consistent symbolic link from program files (x86)

I have two hard drives, and in the one which has the windows installation, I made a symbolic link from program files (x86) to another folder in the other drive. This way, the drives kind of add up ...
2
votes
2answers
1k views

Brew installed, linked, but not found

I just installed mtr via Homebrew, and it completed seemingly successfully (i.e., nothing unusual). MBA% mtr zsh: command not found: mtr That's odd. I figured I'd try again: MBA% brew install mtr ...
2
votes
1answer
34 views

Creating Symbolic Links in Cyberduck?

With SFTP, Cyberduck supports creating a symlink by right clicking a file or folder, and selecting create symlink. This then creates a symlink in the same folder as the file/folder you're linking to. ...
1
vote
2answers
943 views

Apache won't follow symlinks even with permissions set

I can't get apache to follow symlinks outside the web root directory, even though permissions look OK and FollowSymLinks is on. The details are below. I have two world-readable text files: /tmp/hello ...
82
votes
8answers
142k 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
1answer
35 views

RPM: How do I deal with “unpacking of archive failed … cpio: symlink”?

I've gotten stuck on a problem. I'm packaging an existing project into an RPM. It builds fine but when I run sudo yum localinstal --nogpgcheck <path to rpm> I get the following error message: ...
0
votes
0answers
14 views

Symlinks got deleted during programs upgrade

I have Windows 7 and for some programs, like dropbox and google drive, i have created symlinks for their folders in Users directory because i want to keep the settings for the programs out of C drive. ...
2
votes
1answer
201 views

Backup remote Linux from Windows. Recognize symbolic links

I'm trying to backup a Linux Server from a Windows 7 Laptop. The Problem I'm facing is that backup solutions for Windows do not recognize Linux symbolic links. The backup clients just follow the ...
0
votes
0answers
48 views

Access denied when creating symlinks

One of the development tools we use (ember-cli.com) requires symlinks in order to be performant on windows. The recommended strategy is to either run your shell as an admin or to add the ...
6
votes
3answers
143 views

Copy to another NTFS disk and preserve hard links

I have to copy directory structure from one local NTFS disk to another (Windows 7+) and preserve hard links that exist within this directory structure. An acceptable solution would be to replace hard ...
0
votes
0answers
86 views

Error when extracting tar.gz file which contains symbolic link inside

I tried to compress the Repo folder (AOSP) into tar.gz.Source folder has many git folders and Symbolic links.It compressed without any error.But when i tried to decompress it using tar command it is ...
15
votes
3answers
11k views

Executing symbolic link to exe - “The specified path does not exist”

When trying to execute a symbolic link which points to an exe file (on Windows 7), the "Open with" windows appears. When renaming it to a ".exe" file, it says "The specified path does not exist. Check ...
0
votes
0answers
11 views

Maintain duplicate files with same/ different names on a Windows NTFS drive? Use junctions, symbolic or hard links?

Maintain duplicate files with same/ different names on a Windows NTFS drive? Use junctions, symbolic or hard links? I've read junctions, symbolic links and hard links, but its unclear how the ...
1
vote
1answer
564 views

Can someone compare and contrast Linux “ln -s” and Windows “mklink /J”

I am very familiar with command line commands in linux, and how symlinks(ln -s) work. I am trying to duplicate this feature in windows. Specifically I would like to convert my downloads folder that is ...
0
votes
1answer
48 views

Symbolic link - How does it work?

Using Windows 7 Overview- I have an SSD and HDD installed in my computer. I would like to have all data files (ie AppData) saved to the HDD, this way I avoid unnecessary read/writes to the SSD. ...
1
vote
3answers
394 views

vifm: creating symbolic links

How does one create a symbolic link in vifm? The documentation and help file mention no word of it.
1
vote
2answers
3k views

How can I create a symlink which points to another symlink?

Is there any way to create a symbolic link which points to another symbolic link? I have link A (pointing to address1 = /home/data/username/var) in /home/data directory and I need to create link B ...
153
votes
7answers
141k views

chown is not changing symbolic link

I'm trying to change the user/group of a symbolic link with the command: $ chown -h myuser:mygroup mysymbolic/ But it's not changing. I'm logged in as root. The current user/group is set to ...
1
vote
2answers
70 views

Give an application symlink permissions within a directory in Windows

I don't know much about Windows permissions, but is there a way to give a script or application permission to create symlinks that link only within a a directory tree that say an application "owns"? ...
1
vote
1answer
97 views

Sync Desktop with Dropbox - Symlink

I tend to work almost entirely off of my desktop, and I'm attempting to simplify my workflow. I want to sync my Desktop between my Work iMac and my Mac Mini at home. I've sucessfully synced my Home ...