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

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 11 Apr 2021 05:43:03 UTC

Severity: wishlist

Full log


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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-coreutils <at> gnu.org
Subject: Add ln --dry-run
Date: Fri, 09 Apr 2021 19:51:44 +0800
$ 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.




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

Previous Next


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