GNU bug report logs - #47701
Add ln --dry-run

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; dated Sun, 11 Apr 2021 05:43:03 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Apr 2021 05:42:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 11 01:42:45 2021
Received: from localhost ([127.0.0.1]:53826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lVSrt-0007Ve-0c
	for submit <at> debbugs.gnu.org; Sun, 11 Apr 2021 01:42:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:54602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1lVSrq-0007VN-KV
 for submit <at> debbugs.gnu.org; Sun, 11 Apr 2021 01:42:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52954)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1lVSrq-0007eM-DJ
 for bug-coreutils@HIDDEN; Sun, 11 Apr 2021 01:42:42 -0400
Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:15453)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1lVSro-0001S2-Aq
 for bug-coreutils@HIDDEN; Sun, 11 Apr 2021 01:42:41 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 16D30482790
 for <bug-coreutils@HIDDEN>; Sun, 11 Apr 2021 05:42:37 +0000 (UTC)
Received: from pdx1-sub0-mail-a74.g.dreamhost.com
 (100-101-162-31.trex.outbound.svc.cluster.local [100.101.162.31])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id B207E482590
 for <bug-coreutils@HIDDEN>; Sun, 11 Apr 2021 05:42:36 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a74.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384)
 by 100.101.162.31 (trex/6.1.1); Sun, 11 Apr 2021 05:42:37 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Imminent-Shoe: 3a444fee02a77054_1618119756930_683475634
X-MC-Loop-Signature: 1618119756930:402251789
X-MC-Ingress-Time: 1618119756930
Received: from pdx1-sub0-mail-a74.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a74.g.dreamhost.com (Postfix) with ESMTP id 6796184C61
 for <bug-coreutils@HIDDEN>; Sat, 10 Apr 2021 22:42:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=5iW7IfbmWOXRFySuOJoAptcMnJE=; b=c5WYgiY1VOAb5Biq
 g6/GQFbVBvyiehkAcTz1qQHQ+FeF7YyqFbzSKP9TCKhZiZBDwH6/AYb+UEU+MYwS
 yx2KN+v+nVKLnGicmgDMfhLfL7jHImGviZdwxTIjU+gAV0lfqNTXXORSZAEDI3jX
 RWSMaZ1gQbNeWEoblYD2L77U7oc=
Received: from jidanni.org (114-41-20-171.dynamic-ip.hinet.net [114.41.20.171])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 28EC87E780
 for <bug-coreutils@HIDDEN>; Sat, 10 Apr 2021 22:42:36 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a74
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-coreutils@HIDDEN
Subject: Add ln --dry-run
Date: Fri, 09 Apr 2021 19:51:44 +0800
Message-ID: <8735vz1xrj.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=23.83.212.17; envelope-from=jidanni@HIDDEN;
 helo=bird.elm.relay.mailchannels.net
X-Spam_score_int: -7
X-Spam_score: -0.8
X-Spam_bar: /
X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_24_48=1.34,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.9 (-)

$ ln -rbsv ~/Downloads/*/95*[0-9].jpg xiangpianjibentu
'xiangpianjibentu/95212025.jpg' -> '../../../../Downloads/NNNNViewLarge_Draw_files/95212025.jpg'
'xiangpianjibentu/95212033.jpg' -> '../../../../Downloads/ViecccwLarge_Draw_files/95212033.jpg'
'xiangpianjibentu/95212025.jpg~' ~ 'xiangpianjibentu/95212025.jpg' -> '../../../../Downloads/ViewLarge_Draw_files/95212025.jpg'
'xiangpianjibentu/95212026.jpg' -> '../../../../Downloads/ViewLargeddd_Draw_files/95212026.jpg'
'xiangpianjibentu/95212034.jpg' -> '../../../../Downloads/ViewLargvvve_Draw_files/95212034.jpg'
'xiangpianjibentu/95212045.jpg' -> '../../../../Downloads/ViewxxxLarge_Draw_files/95212045.jpg'

Wow, that was a pretty fancy result.

However the only way to find out what will happen is to cross one's
fingers and run the command and hope for the best.

So perhaps add a --dry-run.

It would print (when -v is used), but not do, the above.

(Except probably for the one backup file.)

Anyway, we all know that sometimes ln syntax is tricky,
so perhaps add --dry-run.




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#47701; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 21 Feb 2022 10:00:02 UTC

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