Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 14:14:22 -0400 (EDT)
From:      sara lidgey <slidgey@yahoo.ca>
To:        freebsd-questions@freebsd.org
Subject:   multiple links with single ln command
Message-ID:  <20060627181422.6917.qmail@web35702.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I've read the man page for ln but can't find a way to do this.  I want to create multiple links to a single directory with one command.  Consider the following example.  I have a directory structure like this:
test/a/
test/b/
test/c/
 I want to create a symbolic link called "clink" in test/a/ and test/b/ which points to test/c/

The only way I know to do this is with two commands:
ln -s test/c test/a/clink
ln -s test/c test/b/clink

Can it be done with a single command?

thanks.  sorry if this is a no-brainer,
S

 		
---------------------------------
Now you can have a huge leap forward in email: get the new Yahoo! Mail. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627181422.6917.qmail>