bug-coreutils
[Top][All Lists]
Advanced

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

bug#20094: cp --dry-run


From: Pádraig Brady
Subject: bug#20094: cp --dry-run
Date: Thu, 12 Mar 2015 09:17:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 12/03/15 02:27, 積丹尼 Dan Jacobson wrote:
> 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!

I never needed such an option myself.
It couldn't check the space or permissions of the dest,
so wouldn't be that useful. Perhaps cp --attributes-only
would help for your use case?

thanks,
Pádraig






reply via email to

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