GNU bug report logs - #42358
mv w/mkdir -p of destination

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Tue, 14 Jul 2020 22:38:02 UTC

Severity: normal

To reply to this bug, email your comments to 42358 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#42358; Package coreutils. (Tue, 14 Jul 2020 22:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to L A Walsh <coreutils <at> tlinx.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 14 Jul 2020 22:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: L A Walsh <coreutils <at> tlinx.org>
To: Vito Caputo <vcaputo <at> pengaru.com>
Cc: bug-coreutils <at> gnu.org
Subject: Re: mv w/mkdir -p of destination
Date: Tue, 14 Jul 2020 15:36:56 -0700
[Message part 1 (text/plain, inline)]
Yeah, I'd thought about asking for this as well, like as maybe a "rmdir -r"
or rmdir -rp
where either the want of recursion implied going up to ancestors (since
decending along a chain
of directories would be a bit indeterminent, or requiring a redundant '-p',
as well, as it would tell the program to delete parents (since going down
wouldnt' make much since) from the dir specified back up to the current
directory.  If the current directory wasn't 'above' the specified dir, then
it would die
as it isn't clear what is wanted.  Obviously it can only follow a chain
'up' as long as nothing else is
in the parent besides the directory-parent (i.e. no other files or dirs).

But I've found asking for features usually doesn't work and sometimes
results in work to preclude future
implementation of the feature.  Reporting bugs also, often gets ignored
until some large company reports
the same problem or until it causes a serious enough security incident.

On Sun, May 10, 2020 at 8:17 PM Vito Caputo <vcaputo <at> pengaru.com> wrote:

>
> Does this already exist?
>
> Was just moving a .tgz into a deep path and realized I hadn't created
> it on that host, and lamented not knowing what convenient flag I could
> toss on the end of the typed command to make `mv` do the mkdir -p
> first for me.
>
> I was surprised to not see it in mv --help or mv(1) when I checked for
> next time...
>
> Regards,
> Vito Caputo
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#42358; Package coreutils. (Wed, 15 Jul 2020 19:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 42358 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: L A Walsh <coreutils <at> tlinx.org>, Vito Caputo <vcaputo <at> pengaru.com>
Cc: 42358 <at> debbugs.gnu.org
Subject: Re: bug#42358: mv w/mkdir -p of destination
Date: Wed, 15 Jul 2020 12:09:34 -0700
On 7/14/20 3:36 PM, L A Walsh wrote:
> But I've found asking for features usually doesn't work and sometimes
> results in work to preclude future
> implementation of the feature.  Reporting bugs also, often gets ignored
> until some large company reports
> the same problem or until it causes a serious enough security incident.

You've often disagreed with design decisions made by maintainers, but this is 
the first time I recall you've accused them of large-company bias. Perhaps you 
should get your other grievances off your chest while you're at it.

I haven't noticed any such bias myself. Anyway, it does help to propose good 
patches, since my volunteer time is limited.




This bug report was last modified 3 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.