bug-coreutils
[Top][All Lists]
Advanced

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

install --hardlink


From: Dan Jacobson
Subject: install --hardlink
Date: Wed, 18 Oct 2006 01:29:07 +0800

If
   `install' is similar to `cp', but allows you to control the
   attributes of destination files. It is typically used ... to copy
   programs into their destination directories.
Then it is ripe for adding new functionality:
   --hardlink make hard links instead of copying
(And maybe even
   --symlink make symbolic links instead of copying)

You see currently cp has no option to make leading directories, so we
use install. Now only ln and mv lack options for creating leading
directories, so at least we solve ln's lack.

Wait, just give ln, cp, and mv a --parents like mkdir.

Or maybe this is all too specialized, and the need only occurs once a
year and the user could make a tiny script instead.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]