GNU bug report logs - #20094
cp: add --dry-run option

Previous Next

Package: coreutils;

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

Date: Thu, 12 Mar 2015 03:32:01 UTC

Severity: wishlist

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

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: cp --dry-run
Date: Thu, 12 Mar 2015 10:27:11 +0800
Proposal:
add a new "cp --dry-run"
Reason: we want to know what the verbose output of e.g.,
$ cp -i -av /mnt/usb/thumb/ tmp/androidBackup/SDCard
will be without actually running the command first.
We are about to commit to a megabyte copy and we want to be sure where
all those files are exactly going even after understanding all the
documentation, and without needing to do partial "wet" runs etc. etc. etc. etc.

Also add a "mv --dry-run".

Please also document both would normally be used with -v.

In fact cpio (mainly -p) needs a --dry-run too.

Sorry if I have proposed this before, but it's an idea you just can't beat!




This bug report was last modified 6 years and 211 days ago.

Previous Next


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