coreutils
[Top][All Lists]
Advanced

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

Re: make install -D create directories if -t


From: Bernhard Voelker
Subject: Re: make install -D create directories if -t
Date: Wed, 11 Jun 2014 00:10:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 06/10/2014 05:12 PM, Caleb Cushing wrote:
> my suggestion is that I should be able to write
> 
> install -D /path/to/myfile.txt -t /dest/path

The attached patch implements this.

BTW: the Texinfo manual was falsely stating that [g]install
would ignore the -D option when -t was given (instead, it
complained with ENOENT for the target_directory):

  `-D'
     Create any missing parent directories of DEST, then copy SOURCE to
     DEST.  This option is ignored if a destination directory is
     specified via `--target-directory=DIR'.

Have a nice day,
Berny

Attachment: 0001-install-allow-options-D-and-t-to-be-used-together.patch
Description: Text Data


reply via email to

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