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

Linux symbolic links not showing in Windows over FTP

I have set up my Raspberry Pi as a storage server. It has a 2TB disk attached to it via USB and I installed ProFTPd to provide access to it. CIFS/Samba had too much overhead, eating away all of the ...
0
votes
1answer
70 views

How can I get Chrome multiple users to recognize symlinked extensions?

I have multiple Chrome users. To save time and space on extensions that are the same (state / prefs / etc) across all users, I've symlinked most extensions (e.g. Profile 4/Extensions/xyz -> ...
1
vote
2answers
4k 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
2answers
64 views

How is it that symbolic links can be used across different filesystems, and hard links cannot?

How is it that symbolic links can be used to link across different filesystems? And why is that hard links cannot be used across different filesystems?
1
vote
2answers
827 views

Creating symlink for C:\Program Files

Is it possible to create a symbolic link in Windows that redirects C:\Program Files to another drive?
0
votes
0answers
93 views

Hard drive corrupts when in use and appears as RAW after reboot

At the moment all of my steamapps folder is on a separate drive connected via a symbolic link. Last week while in game the program crashed and would not quit, even after terminating from the Task ...
0
votes
2answers
84 views

How to hide the destination of a symbolic link

Say for instance I want to link the following two directories with a command like this: ln -s /home/usertwo testdir When I click ls, in the directory where this link is created, i will see ...
0
votes
0answers
81 views

Symlink or move AppData back to SSD?

Recently I reinstalled my desktop box with Windows 7 Professional N. Since I have a 256 GB SSD as the OS drive and two 1 TB HDD's I decided to change ProfilesDirectory from C: to E: and keep all my ...
1
vote
1answer
145 views

Deleted C:/Users when deleting symbolic links, can't login now. [Win7]

Running Windows 7 64-bit. I had symbolic links for C:/Program Files, C:/Program Files (x86), and C:/Users to D:/Program Files, D:/Program Files (x86), and D:/Users, respectively. Tried to solely ...
1
vote
0answers
367 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
2answers
58 views

ls -lrt showing file which is not present

When I do ls -lart in my current working directory it shows lrwxrwxrwx 1 root 10004 36 Dec 16 17:59 index.html ->/home/moviebeam/assets/ui/index.html But I cannot see contents of the ...
0
votes
3answers
373 views

CentOS - how to use ln command in this situation?

Create a file like the log file in CentOS, when this log file is updated, then the copy of the log file is also updated. Maybe I use this command: ln -s logfile copy_of_logfile Then when logfile's ...
0
votes
1answer
35 views

How can you run setup files from a symbolic link in windows 7

Create a symbolic link to a network software repository. C:> mklink /d Software \my.network\some\software Run C:\Software\MyProgram\Setup.exe It fails for most installations, including Visual ...
6
votes
1answer
223 views

No performance increase on I/O intensive operation after symlink to ramdisk

We have a system that transforms a set of several thousand multi-MB files. After every step in the transform, it writes the intermediate file to disk. The concept is similar to a scratch disk. We ...
1
vote
1answer
95 views

Symlink to a directory including the trailing slash and without

Is there any noticeable difference between symlinking to a directory including the trailing slash and doing it without, i.e. the difference in doing ln -s somedir/ dir vs. ln -s somedir dir whereby ...
0
votes
1answer
31 views

Symlink contents of a folder not the folder itsself

I am trying to create a symlink, this is a little scetch a |--b |--c |--d |-bunch of files |--e |-file1 I would like to make a symlink that links the contents of folder a, however i should ...
0
votes
1answer
390 views

Creating a Symlink in an NTFS share

I am currently on Arch Linux accessing Samba shares of an NTFS drive connected to a windows machine. I want to be able to create Symlinks from my Arch Linux machine in the Samba shares. I have googled ...
1
vote
1answer
367 views

NTFS symlink not syncing to target folder

In Windows 7, I've created a directory symlink in my SkyDrive folder that points to my My Documents folder. In other words, I have the following folders: c:\users\<user name>\documents ...
1
vote
1answer
211 views

Safety of redirecting System folders (e.g. : program files ,users,… ) using symbolic links?

Can redirecting system folders as mentioned above using symbolic links cause problems to the system or some applications? And is there any problem if I redirect the folders to another partition on ...
0
votes
1answer
129 views

Do symbolic links work both directions?

I created a symbolic link between a folder on my local computer and DropBox. If I modify files in the linked folder on Dropbox from another computer, will those new/modified files also be pushed into ...
1
vote
1answer
114 views

Fixing lost symbolic link status [closed]

I have a couple of soft symbolic links that have lost their link status and have become normal files containing link TARGET_FILE_LOCATION I searched quite a bit to find a way to restore their ...
2
votes
2answers
433 views

Make the contents of two folders appear in one

In Windows 7, I have three folders: "Images", "assets" and "all". I want the contents of "Images " and "assets" to appear in "all" automatically without copying those files into that folder (e.g. ...
1
vote
0answers
65 views

Registry and Symbolic Links When Formatting

I had moved a folder to another drive and then established a symbolic link with mklink (in Windows 7). Now I want to format the original hard drive that I linked to. I understand that the data on the ...
0
votes
1answer
438 views

Copying symbolic links and filenames with special characters to NAS

I have a new Western Digital My Book Live NAS. I am trying to copy files from an old drive to the NAS. I'm using Ubuntu 12.04 and I've mounted the drive by browsing the network in Nautilus and ...
1
vote
0answers
46 views

Make symlink on Windows of whole tree without modifying the original folder

I'm trying to do this: make a symlink of a whole directory "C:/Master", in different folders like "C:\Projects\Alpha\", "C:\Projects\Beta\" an so on. "Master" directory usually changes in files and ...
2
votes
1answer
781 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 ...
0
votes
1answer
435 views

Upgrading from Win8 to Win8.1 with a Users directory Symlink

I run 2 drives in my laptop, ssd and hdd. I created a symlink from C:\Users to D:\Users to save space on my SSD. During update to windows 8.1, I am prompted with this message: What can I do to make ...
0
votes
1answer
441 views

symbolic links gone after restart/upgrade

I can create symlink (something like that) and it works. Until next restart. How do I force iterm to restore symlinks? How do I preserve these after a system update?
0
votes
1answer
515 views

Mac: Moved Applications folder, can't install peripheral software?

Here's the Situation I have a Mac Pro, and it runs Mac OSX 10.7.4. For faster performance and startup speed, and an easier way for me to backup my files, I did the following 3 modifications: 1) I ...
4
votes
1answer
280 views

What kind of links (symbolic, hard, junction pts…) for multiple cloud backups?

Google-Drive's MS-Windows software doesn't follow links of any kind. Dropbox and Skydrive both - apparently, follow links. I am using MS-Windows7 64-bit professional edition. What I did was to move ...
1
vote
1answer
109 views

How to create a symbolic/soft link to a file not a folder

Im trying to create a symbolic link to a text file with directory: C:\users\me\textfile.txt where the shortcut is in the same folder (for simplicity) using command: mklink /d ...
1
vote
1answer
782 views

Accessing symbolic links in VirtualBox

How can you access files in folders that are links, on a shared folder in VirtualBox? For instance, I've got a folder named /home/mrlister/misc on my host computer, which is shared as ...
0
votes
1answer
172 views

Converting Windows batch to Linux script (Batch create symbolic links by first character)

As a noob to Linux and scripting I'm unsure as to how to convert this into a linux script or even where to start. Essentially I want to create a script that creates alphabetized folders A-Z, symlink ...
1
vote
1answer
329 views

trying to make symbolic link but have spaces in folder name

I'm trying to make a symbolic link via the windows command prompt. I am using a drop box-like service called Copy. it creates a new folder which it syncs to the web and other computers that it's ...
0
votes
2answers
77 views

Utility to create symlinks for all executables in the Start Menu?

It's really annoying in Windows that if you want to run about any third-party program from the command line, you either have to use its full path or manually add its containing directory to PATH. Is ...
1
vote
0answers
60 views

Running a symlink locally

I am running the same program multiple times over a linux platform. It is compiled at another server, and frequently updated, and it's uploaded over through rsync to all "hosting" servers, which do ...
0
votes
2answers
144 views

cd shortcuts: symbolic link to CDPATH dir

I found a solution to another question and posted here and wanted to implement it. On OSX, in order to create cd shortcuts, it advised creating a hidden folder with symbolic links, and then adding ...
2
votes
1answer
36 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 ...
0
votes
2answers
417 views

Hide files in unix without changing their name (adding the dot) so that scripts that use them still work [duplicate]

Short version: I want to be able to prevent certain files from appearing in the output of ls, without adding the dot, and thus changing their names. Long version: Recently, I moved a bunch of scripts ...
0
votes
0answers
39 views

What do `Drop As…` options of `Link Shell Extention` mean?

After picking link source using Link Shell Extention as below snapshoot We have the below options to drop. What are their meaning? For folder For file
1
vote
1answer
744 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
63 views

Need some help on creating sym links

Using Linux Centos 6 I have 16 years of data sorted in directories by year and then day (1997/001, 1997/002...). Each 'day' directory has 24 files, 1 for each hour, with hour name in each file (i.e. ...
1
vote
2answers
259 views

Easiest way to restore symbolic links turned into text files?

I had folders with many symbolic links in them. Unfortunately after copying that around different filesystems, they've turned into plain text files with the link target as the contents. That is: ...
0
votes
1answer
335 views

How to replace Windows My Pictures folder by symbolic link without breaking long folder name?

Windows lets you store current user images in a custom folder, %userprofile%\pictures, which appears as "My Pictures" under the picture library in the explorer left pane. I have My Pictures on another ...
1
vote
1answer
44 views

Cross platform softlinks?

I am using a scientific software that require softlinks to work with reasonable efficiency. However, I'd also like to sync my data, that must contain bare data from that software (i.e. not packaged ...
1
vote
0answers
358 views

Microsoft OneNote 2010 & symbolic links

OneNote uses a simple folder structure to organise its Sections and Sub-Sections - a Section is a file, a Sub-Section is a subfolder within the notebook which contains its own Section files. What I'd ...
1
vote
0answers
196 views

How to get Dropbox to sync changes inside a symlinked directory?

On Win 7 I have a symbolic link from inside the Dropbox pointing to an external directory which I'd like to sync. Upon the initial sym-linking and whenever restarting the Dropbox program, the sync ...
1
vote
3answers
228 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 ...
2
votes
0answers
344 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 ...
5
votes
3answers
6k views

How to create symbolic links to all files (class of files) in a directory?

I would like to create symbolic links (ln -s) to all files (or a class of files, e.g. ending with .bar) in a certain directory. Say I'm in the cwd and type ls ../source/*.bar gives me foo.bar ...