0
votes
1answer
22 views

Symlink two real directories with files in both

I have two directories, with files in both of them: ./read/pub/ |- file1 and ./write/pub/ |- dir1/ |- file2 |- file3 I need to create a symlink so that all the ...
1
vote
1answer
24 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 ...
0
votes
1answer
122 views

Can't create symlink on Windows VM's mapped network drive

I have a Server 2008 VM (Parallels 9), and I share a folder from OSX via a mapped network drive "T:". I am trying to make a symlink from one folder on T: to another folder on the same drive, like so: ...
3
votes
2answers
193 views

How to move target a Windows shortcut points at and allow existing shortcut work?

I would like to do the following: Create a shortcut to a folder (say mLink.lnk --> C:\tmp) This will be emailed to users Move and/or rename the folder (C:\tmp --> C:\tmp2) Setup intermediate step ...
0
votes
2answers
45 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?
0
votes
2answers
40 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 ...
1
vote
1answer
63 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 ...
0
votes
0answers
48 views

Backup a linux partition without imaging

Typically to backup my Windows partitions (note: pre-Vista/2008 Windows, no symlinks), I usaully tar caf /backup/<name><date>.tar.xz /mnt/<fs>. Currently, I use dd | xz to backup ...
1
vote
1answer
237 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 ...
0
votes
2answers
62 views

How to search for broken links on the entire local file system of a server?

I have to do this in korn because bash is not installed. This is my script so far but it's not quite working as I expect. cd / find . -xdev -type d > /tmp/dirlist export YOURLIST=`cat ...
4
votes
1answer
2k 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 {} \; ...
2
votes
1answer
49 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 ...
0
votes
1answer
282 views

Why don't hard link destinations on Windows Server 2003 immediately show the proper file size and last modified time?

I wanted to create hardlinks to files on Windows Server 2003 and I stumbled upon the superuser question hardlinks on ntfs with windows. I tried mklink as one of the answers suggested and found that ...
0
votes
1answer
88 views

What is the efficiency of NTFS Junctions?

Long story short, I am using the steamtool application, which was originally developed for the following reasons: Steam by default would save all your games to C:\ SSDs are becoming the new primary ...
1
vote
0answers
97 views

Linux mount part of filesystem as template

Here's what I'd like to do: I have some directories that I need to have separate copies of, but these directories are 2+ GB so simply copying the directory several times seems inefficient. 90% of ...
1
vote
0answers
158 views

How do I search/replace symbolic links?

I've been having this issue for a long time, and I don't want to reinstall the whole system, yet. Now there's an app that runs on Java, and it doesn't even open. The logs says some cocoa files were ...
1
vote
3answers
741 views

Win7 System folder contains infinitely looping SYSTEM(!) directory

My Windows 7 Enterprise computer has been crashing fairly frequently recently, so I decided to boot up in safe mode and run the TrendMicro client I have installed. It froze about 10 minutes into the ...
1
vote
3answers
95 views

Linux: Shared and mounted directories

Fairly-new to Linux and am trying to see if I can start getting a little clever. I have a server that contains files that I'd like to have "locally" accessible on other servers directly under the / ...
1
vote
1answer
88 views

Symbolic linking and shrinking available space

I symbolically linked two drives across a folder located in the program files folder of the C:\ directory. This folder is linked to a much larger/slower HDD. Windows is installed on a small SSD ...
4
votes
2answers
235 views

Hard/SymLinks and Alternate Data Streams

An interesting thought just occurred to me while thinking about NTFS. NTFS supports hard links, symbolic links, and Alternate Data Streams. Is it possible for an ADS to be a link to another file? ...
33
votes
3answers
4k views

What are the various link types in Windows? How do I create them?

Is it possible to link two files or folders without having a different extension under Windows? I'm looking for functionality equivalent to the soft and hard links in Unix.
86
votes
1answer
39k 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
2answers
802 views

how to create a symbolic link from an ext partition to a FAT32 partition

On my Linux system, I want to create a symbolic link to a folder on my Windows 7 partition formatted FAT32. I use: sudo ln -s /media/OS/Users/dennis/AppData/Roaming/.minecraft ~/.minecraft However, ...
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
598 views

Are my Linux symbolic links acting correctly?

I've been using Linux on and off for the last 15 years and today I came across something in bash that surprised me. Setup the following directory structure: $ cd /tmp $ mkdir /tmp/symlinktest $ ...
0
votes
1answer
70 views

How to change the address at FAT(or similar) to change the location of file?

I have a huge file which is about 67 GB is size. It takes a long time to move this file from one drive to another. So is there a way, from which I can change its memory address(I dont know the ...
4
votes
1answer
320 views

Unix: softlinks, hardlinks

I am somewhat confused what the differences between a softlink, and a hardlink are (on unix). It seems like a softlink is the same as a shortcut in windows or an alias on Mac OS X. (Can someone ...
9
votes
1answer
6k views

Permission to make symbolic links in Windows 7?

How can I grant a particular user the permission to create symlinks in Windows 7? I've searched through "Group Policy" and Google, but haven't found anything. On a side note, is there a way to ...