The command:
install -D <source> -T <dest>

makes parent directories as needed for the destination.
For example if destination is:
/long/path/to/dest
it will create /long/path/to as with mkdir -p /long/path/to.

It would be nice to provide a similiar (symmetric) feature for the
corresponding -t command.

The corresponding syntax:
install -D <source> -t <destdir>

could create all the components of the destination dir.

For example:
install -D source -t /long/path/to/dest/dir
could create /long/path/to/dest/dir if it doesn't already exist.

Actually the user has to firstly create the destination dir with:
mkdir -p <destdir>
and then:
install -D <source> -t <destdir>

Cheers
-- 
I'm all for computer dating, but I wouldn't want one to marry my sister.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to