Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
4answers
61 views

Does ln -s require you to be in a certain directory?

I want to create a simple symlink to a file. It works perfectly if I run the command from inside the directory where I want the symlink to be created: /path/to/link $ ln -s /path/to/file . But if ...
0
votes
0answers
52 views

Computer\Apple iPhone\Internal Storage\DCIM - how to use a regular directory [closed]

Possible Duplicate: UNC Path to photos on iPhone on Windows XP The path to an iPhone's pictures when connected to Win7 is: Computer\Apple iPhone\Internal Storage\DCIM This is a problem ...
1
vote
2answers
56 views

Following a remote symbolic link via Windows Shares

In Windows 7 X64 I have a directory C:\shares\ Which contains 2 shared folders, each of these contains a couple of hundred symlinks, mapping the contents of 4 folders spread across 4 drives. So ...
0
votes
1answer
25 views

Remove a folder inside a symlink

Having a symlink: ln -s /var/www /media/Disk2/dropbox/www How can I remove a folder from the symlink located at /media/Disk2/dropbox/www/test without afecting the main folder?
0
votes
0answers
59 views

Windows NFS client, remove and create the same file

I use Windows 7 and Win client for nfs. I mount nfs drive and make symbolic link to this drive according to this Any way to symlink an NFS folder on a NTFS drive on Windows 7? I have a problem when I ...
3
votes
3answers
85 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 ...
1
vote
1answer
16 views

How do I move a linked file on Unix?

I have a bunch of files in one directory and links to each one of those files in another directory. So ls -l looks something like this: lrwxrwxrwx 1 rembol rembol 89 Jan 25 10:00 copyright.txt ...
2
votes
1answer
83 views

How to make symbolic link independant of drive letter

I have partitions set up on my windows 7 machine such that one drive holds all my personal documents, while the C drive is meant to hold everything else. To help the two work together, I made some ...
1
vote
1answer
34 views

Possible to “move Windows XP” to data partition using following plan and symbolic links?

Background: I have Windows XP and Windows 7 on the same machine, on different partitions. Thus, I can perform operations on either OS while said OS is not running. Terminology: "XP:", "7:" and ...
0
votes
1answer
43 views

MacOS: How to “cd” into a symlink?

I have a folder "abc". I create a symlink: ln -s abc abclink. but then, whan I type, cd abclink it says "No such file or directory". I can see the link, it has "lrwxr-xr-x" permissions, why doesn't ...
1
vote
0answers
49 views

Windows 7 Symlink to network drive root

My Ubuntu server provides storage to my Windows 7 workstation through the use of SMB and network drives. One symlink currently links from a network drive to my iTunes library folder. Within that ...
1
vote
1answer
54 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 ...
2
votes
1answer
56 views

How to mass remove symbolic links in Windows (amongs regular files that share similar name in many folders)?

Is there anyway to quickly remove many symbolic links in many folders that contains many other files. E.g some command in command prompt (be able to delete all slink created from day XX for example)? ...
1
vote
1answer
55 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: ...
1
vote
0answers
76 views

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Homebrew's Ruby 1.9 ships with rubygems. Doing gem install ... installs files and binaries into some long-winded path. For example, bundler is installed at: ...
6
votes
2answers
103 views

Windows 7 cross-volume symlinks affecting recycle bin

Related to this question but not identical. Scenario: C:\Folder\Symlink\ is a symlink pointing to E:\Folder\Folder\Target\ Problem: Deleting a file through C:\Folder\Symlink\* bypasses the Recycle ...
6
votes
4answers
255 views

Scenario - NTFS Symbolic Link or Junction?

Differences Symbolic Link - Relative or absolute paths, supports UNC shares and file or directory targets Junction - Absolute, local directory targets only Scenario Let's assume we're creating a ...
0
votes
1answer
26 views

How to filter repeated symbolic links

I have different symbolic links aliases for a set of files (beware, some symbolic links might point to other symbolic links in the same directory) and I would like to get a list of unique files they ...
0
votes
1answer
47 views

Unix pipe: find | ln -s

I'm trying to symlink some php files using the following command: find `pwd` -name "*.php" | ln -s * /home/frankv/www/bietroboter.de/symlinks However, all the symlinks are broken because the little ...
1
vote
0answers
165 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 ...
3
votes
1answer
130 views

How do you make a symbolic link with a relative path using mklink?

This web page implies that it is possible to make symbolic links with relative paths using mklink. I have tried all sorts of ways to make relative symbolic links, but I always end up with an absolute ...
3
votes
2answers
61 views

Aren't egrep, fgrep supposed to be aliases to grep?

Since egrep is essentially grep -E I would expect it to be an alias that calls grep with that option. However on my system file `which egrep` shows it is an executable. Also egrep as an alias only ...
0
votes
0answers
56 views

Unable to log into Windows 7 after moving users folder via symlink

I'm unable to log into Windows 7 after moving the Users folder via symlink. I used the command prompt in System Recovery to move the folder. F:\ is my SSD which I want to move from, while C:\ Is the ...
1
vote
2answers
427 views

How can I create a directory symbolic link on Windows Server 2003?

I'm trying to create a directory symbolic link under Windows Server 2003 but I'm not having any luck. I've tried junction.exe (Sysinternals), ln.exe, and linkd.exe (Windows Server 2003 Resource Kit). ...
2
votes
2answers
350 views

How to allow acces to a symbolic link in my ~/Sites/ for Apache under Mac OS X Lion 10.7.2

I need allow access to a sym-linked directory within ~/Sites from my Apache. I Symlinked the directories like this ln -s ~/path/to/the/source/directory/ ~/Sites/source-link-here Now whenever I fire ...
1
vote
2answers
31 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 ...
1
vote
1answer
54 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 ...
0
votes
3answers
99 views

Understanding Linux symlinks

I have two directories on a virtual machine. One of them is my home/user directory, the other is the /var/www/html folder which renders the public website. Every time I upload files for my web app ...
0
votes
1answer
56 views

Accessing a symbolic link on a Mac, when the directory is shared and mapped to a Windows drive letter

The symbolic link points to an external hard drive on the Mac. When I access the symbolic link from the Windows machine, I get an access denied error. What do I need to do so that I can get to the ...
15
votes
3answers
321 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. Background: I have a ...
3
votes
1answer
77 views

How synchronize two disks (or folders) using symbolic (or hard) links (like rsync)?

I'm searching a tool or a shell script or another program to synchronize two or more folders or disks. But it differs of rsync tool, because, I don't want to duplicate the missing file, but do a ...
1
vote
0answers
15 views

linking private documents in public directory

On an OS X server, I have some documents in /Users/me/Documents/here/ Permissions to /Users/me/Documents is set to drwxrwxr--. Permissions to /Users/me/Documents/here is set to drwxrwxr-x. I want ...
7
votes
2answers
362 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 ...
2
votes
1answer
110 views

What happens when I backup a symbolic link to a briefcase?

The story: I recently started trying DropBox. After some fiddling, I found I could use an app, DropBoxFolderSync, to sync a folder with DropBox, leaving something called a "Symbolic Link" (which seems ...
0
votes
2answers
37 views

How to create a symbolic link in an other directory?

There are two directories A and B and a file F which is located in B. The working directory is B. How can you create a symbolic link in A pointing to F in B without changing the directory?
0
votes
0answers
43 views

Cannot symlink MyISAM databases

So we're a few web developers working on their own projects, which we'd like to access remotely, but still work locally (so, LAMP on the server, MAMP on each computer). The benefits include easily ...
0
votes
1answer
25 views

Should programs follow symlinks?

A program that recursively traverses a directory tree, needs to figure out what to do about symlinks (and/or junction points on Windows), to avoid going into an infinite loop when a symlink points to ...
2
votes
2answers
55 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 ...
1
vote
2answers
88 views

How get full path to target of link

If I have a symbolic link /var/opt/foo created with ln -fs /path/to/target/dir foo. How can I in a script that sees only the link get /path/to/target/dir? What I want to achieve in the script is rm ...
2
votes
1answer
97 views

When creating a symbolic link, how do I troubleshoot 'too many levels of symbolic links'?

I'm trying to create a symbolic link on Ubuntu 10.04 it says: me@laptop:~/PHPUnit$ ls assertions.php LICENSE PHPUnit README.markdown build.xml package.xml phpunit.bat ...
2
votes
1answer
61 views

Developer is requesting that I symlink /sbin/shutdown to /bin/shutdown, why?

A developer who is build a bespoke system for my company is asking me to set the following symlink, and I'm not sure whether there is any point to this at all, and why the developer can't just change ...
1
vote
1answer
44 views

Is there a fast method of changing directory to a symbolic links parent or source?

Say I have folder stucture: |- dir1/ | |- sub1/ | |- dir2/ |- sub1link -> /dir1/sub1/ and my current working directory is sub1link, is there a quick way to either: change directory to ...
1
vote
1answer
43 views

Find symbolic links

I'm awared that find -L or find -type l would find all symbolic links on a given path. But I'm trying to find all symbolic links that points to my foo folder. Any tips?
1
vote
0answers
64 views

Flatten symlink for Virtualbox Share

I have a Virtualbox machine that I use for development, and I mount a directory for a project I'm working on within it. This directory has symlinks to a few other directories around my host file ...
2
votes
1answer
63 views

How to stop following symlinks in dropbox

What I have: Dropbox\ projects\ serverfault\ stackoverflow\ superuser\ currentProject -> projects\superuser [Sometimes I change it to other project] When I sync ...
2
votes
1answer
88 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 ...
0
votes
1answer
22 views

symbolic links rename destination with out effecting source (xp machine)

i'm using windows XP i have a directory with an invalid naming schame, i would like to clone the dir (without actually coping it, as in symlinks) and rename the files there in the proper manner for ...
0
votes
1answer
36 views

Mac osx — view contents of a symlink?

Basically I want to look inside the symlink. Is this possible?
3
votes
1answer
38 views

What kind of link is this, and how do I deal with them?

I've got an application that has created some sort of filesystem directory link that I've never come across. It appears to behave exactly like a symbolic link to the directory, except that as far as I ...
0
votes
2answers
114 views

Change many symbolic links at once?

I have about 40 symbolic links in a directory that look like this: lrwxr-xr-x 1 anna staff 45B 22 Jun 11:20 menu-bg-left.jpg -> ../../../../../hg/www/images/menu-bg-left.jpg lrwxr-xr-x ...

1 2 3 4