[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
install: [wishlist] provide an option for creating the destination dir r
From: |
Stefano Sabatini |
Subject: |
install: [wishlist] provide an option for creating the destination dir recursively |
Date: |
Tue, 13 Feb 2007 20:11:47 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- install: [wishlist] provide an option for creating the destination dir recursively,
Stefano Sabatini <=