[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301030: can we move lndir to coreutils or debianutils?



also sprach Michael Stone <mstone@debian.org> [2005.03.23.1333 +0100]:
> What is the point of this utility? Does it differ in any functional
> manner from cp -sr?

Sure. For instance, to create a symlink farm, e.g.:

  $ tar xjf /usr/src/kernel-source-2.6.11.tar.bz2
  $ mkdir suspend2-2.6.11
  $ cd !$
  $ lndir ../kernel-source-2.6.11

This creates a hierarchy in which directories are directories and
files are symlinks.

With `cp -sr`, this is not possible:

  $ cp -sr ../kernel-source-2.6.11 .
  cp: `./Makefile': can make relative symbolic links only in current directory

Maybe I am doing something wrong. However, lndir is really useful
and I have not found an alternative.

-- 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!
 
"next the statesmen will invent cheap lies, putting the blame upon the
 nation that is attacked, and every man will be glad of those
 conscience-soothing falsities, and will diligently study them, and
 refuse to examine any refutations of them; and thus he will by and by
 convince himself that the war is just, and will thank god for the
 better sleep he enjoys after this process of grotesque
 self-deception." 
                                                         -- mark twain

Attachment: signature.asc
Description: Digital signature


Reply to: