bug#36901: Enhance directory and file moves where target already exists

2019-08-06 Thread Bernhard Voelker
On 8/3/19 8:21 AM, L A Walsh wrote: > On 2019/08/02 23:10, Assaf Gordon wrote: >> Specifically, at the top of the page: >> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/mv.html >>SYNOPSIS >> mv [-if] source_file target_file >> mv [-if] source_file... target_dir >>DE

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread L A Walsh
On 2019/08/02 23:10, Assaf Gordon wrote: So when I look at the system call on linux for rename: oldpath can specify a directory. In this case, newpath must either not exist, or it must specify an empty directory. (complying with POSIX_C

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread Assaf Gordon
Hello, On Fri, Aug 02, 2019 at 10:47:18PM -0700, L A Walsh wrote: > It's not a wish list that 'mv' doesn't work as documented. The "wishlist" refers to the topic: You are asking to add new funtionality to 'mv'. That is a "wishlist" item. (answering out of order:) > > On 2019-08-02 9:56 p.m., L

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread L A Walsh
It's not a wish list that 'mv' doesn't work as documented. On 2019/08/02 22:45, Assaf Gordon wrote: > severity 36901 wishlist > retitle 36901 mv: merge directories where target already exists > stop > > Hello, > > (for context: this is a new topic, diverged at https://bugs.gnu.org/36831#38 ) >

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread Assaf Gordon
severity 36901 wishlist retitle 36901 mv: merge directories where target already exists stop Hello, (for context: this is a new topic, diverged at https://bugs.gnu.org/36831#38 ) For completeness, quoting your second message ( from https://bugs.gnu.org/36831#50 ): On 2019-08-02 9:56 p.m., L A

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread L A Walsh
Reposting this, since I realize that fixing the target-exists cases with a helpful algorithm could change or eliminate many cases where where now the user gets an error instead. On 2019/07/28 23:28, Assaf Gordon wrote: > > > $ mkdir A B B/A > $ touch A/bar B/A/foo > $ mv A B > m