bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LI


From: Paul Eggert
Subject: bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists
Date: Sat, 27 Nov 2021 00:41:07 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

On 11/25/21 15:10, Warren Parad wrote:
except mv(1) and cp(1) are both "FROM" and then "TO", but ln is backwards
from thi, it is "TO" then "FROM"

No, ln is exactly like mv and cp here: the source is the first argument, and the destination is the second.

If this isn't clear, perhaps we should make the documentation clearer; but we shouldn't change ln's behavior, as many people and programs rely on the current behavior, and the current behavior is more logical once you understand how file systems work.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]