1
vote
1answer
56 views

Why doesn't XCOPY copy my junctions?

I'm trying to copy a Users Directory with XCOPY, but parts of it are not working. (I'm running as Administrator, in a command prompt which was started with Run As Administrator) The user directory ...
0
votes
1answer
290 views

Windows 8.1 - Failed Symbolic Link Caused Windows To Be Unable To Log In

I was needing to have my Users folder on my Hard Dive instead of my SSD where my Operating System is. However, after following the answer provided by @2mc56 on a Microsoft Community question, I was ...
0
votes
1answer
16 views

Should I make `emacs` a symlink or environment variable?

When I apt-get install emacs I can just type emacs and it launches. But I decided to replace the apt repository version (23 currently) with the latest stable release (24.3). Now, I'd still like to ...
0
votes
0answers
19 views

Remove Windows link associations from recursively linked files (created by mistake)

So, because of Windows' bone-headed reverse syntax and the generally piss-poor command line utilities, I accidentally created several hundred recursive links on files in many directories and nested ...
1
vote
0answers
131 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 ...
1
vote
1answer
139 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
109 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 ...
1
vote
3answers
327 views

How to create a link to an executable which must be run in its own folder?

I have a program inside a folder like below. The objective is to have a link in the utilities folder so I can call it from any command line. C:\Utilities\Program\ program.exe ...
1
vote
3answers
239 views

OSX: would it be possible to create a symbolic link that points to /dev/null e.g. a black hole directory

OSX: would it be possible to create a symbolic link that points to /dev/null e.g. a black hole directory. I Work at a help desk and we need to sanitize a directory just in case data gets into it at ...
3
votes
2answers
119 views

One line ls command to display symbolic links

How can I use just one single ls command to display all symbolic links in my /dev directory? I know ls -l and that's about it.
0
votes
1answer
309 views

Conditionally create symbolic link by filesize using find exec ubuntu 10.04

I have an interesting problem. I'm trying to create symbolic links in a single folder, for all files in a directory which are larger than a specified size. For clarification, here is an example: ...
1
vote
1answer
396 views

Make Bash's PS1 show original directory name and not symlink?

I currently have PS1='\W' but when in a symbolic link'd directory, the prompt shows the symlink name, how can I make PS1 to show the original directory name?
3
votes
2answers
1k 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)? ...
0
votes
0answers
347 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
1answer
186 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 ...
2
votes
2answers
440 views

how to know if a directory is referenced by a symlink

Is there a command that I could execute to find out if a directory is referenced by a symlink somewhere on the machine. ie: pwd => /home/user/source/ vdir lrwxrwxrwx 1 user group 24 ...
12
votes
4answers
8k views

How to copy symlinks to target as normal folders

i have a folder with symlinks: marek@marek$ ls -al /usr/share/solr/ razem 36 drwxr-xr-x 5 root root 4096 2010-11-30 08:25 . drwxr-xr-x 358 root root 12288 2010-11-26 12:25 .. drwxr-xr-x 3 root ...
4
votes
5answers
700 views

How to see the end of a long chain of symbolic links

Suppose I have a link that points to another link that points to another link, etc. way down the line. I'm not sure how many levels of links there are. What's the slick command line way to see the ...
1
vote
1answer
2k views

symlink and sudo executable

If I have the below sudoers entry usera ALL=(userb) NOPASSWD: /home/userc/bin/executable-file usera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-file When I log-on as usera and ...
0
votes
4answers
803 views

Linux: Can I link multiple destinations via softlinks?

Attempting to end up with something similar to this: $ ls -l lrwxrwxrwx 1 user group 4 Jun 28 2010 foo -> /home/bar lrwxrwxrwx 1 user group 4 Jun 29 2010 foo -> /etc/bar The ...
20
votes
2answers
15k views

How do I create a relative symbolic link in Linux?

I need a symlink that resolves relative to the directory it is placed in. What command is used to create such a thing?
51
votes
6answers
73k 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
3answers
735 views

Firefox 3.6.3 on Snow Leopard 10.6.3 - symbolic link to command line binary doesn't work?

I have Firefox 10.6.3 installed on Mac OS X Snow Leopard from the DMG. I can run firefox from the terminal using /Applications/Firefox.app/Contents/MacOS/firefox-bin. However, if I create a symbolic ...
1
vote
1answer
591 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
221 views

rm -rf problem on ubuntu 9.04

Ok this is a sort of solved problem, however i am still interested in what was behind it.. I have been building chromium from source for a while now, and decided to get rid of the src directroy and ...