GNU bug report logs - #5926
feature request: mv -p to create missing target dir

Previous Next

Package: coreutils;

Reported by: Rodolfo Borges <rodolfo.borges <at> gmail.com>

Date: Sun, 11 Apr 2010 14:10:02 UTC

Severity: wishlist

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Bob Proulx <bob <at> proulx.com>
Cc: 5926 <at> debbugs.gnu.org, f0rhum <f0rhum <at> free.fr>
Subject: bug#5926: feature request: mv -p to create missing target dir
Date: Mon, 20 Oct 2014 18:39:50 +0200
Bob Proulx <bob <at> proulx.com> writes:

> The mv command causes an atomic rename(2) to occur if on the same file
> system.  That is not possible when using cp + rm.  Therefore mv is
> required.

Also, you can rename a file that you cannot read.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 10 years and 218 days ago.

Previous Next


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