bug#11449: RFE: support `install -D` with directory target

2012-05-10 Thread Jan Engelhardt
Hi. Using cp, one can for example execute cp foo/bar.txt /tmp/foo/ to have /tmp/foo/bar.txt in place after a successful copy operation, provided the directory /tmp/foo exists. If it does not, one has to mkdir it beforehand naturally. I thought that using `install -D` would remedy

Re: install -D into directory

2003-09-17 Thread Paul Eggert
Koblinger Egmont [EMAIL PROTECTED] writes: Currently the form ``install -D some files /here/'' (with trailing slash) is unusable for anything Unfortunately POSIX standard says that standard utilities must ignore any trailing slashes on existing directory names. POSIX does not standardize

install -D into directory

2003-09-16 Thread Koblinger Egmont
Hi, [ I sent this mail two months ago but there was no feedback and it's still buggy in 5.0.91. ] The command ``install -D file /tmp/into/this/directory/'' says: install: cannot create regular file `/tmp/into/this/directory/': Is a directory IMHO this is incorrect, I'd expect it to create this

Re: install -D into directory

2003-09-16 Thread Koblinger Egmont
On Tue, 16 Sep 2003, Andreas Schwab wrote: The command ``install -D file /tmp/into/this/directory/'' says: install: cannot create regular file `/tmp/into/this/directory/': Is a directory [...] -D create all leading components of DEST except the last,

install -D into directory

2003-07-18 Thread Koblinger Egmont
Hi, The command ``install -D file /tmp/into/this/directory/'' says: install: cannot create regular file `/tmp/into/this/directory/': Is a directory IMHO this is incorrect, I'd expect it to create this directory and install the file into it with its original name (just as if I manually created