"pretend" option in rsync?

rumcho semovrs at concord.edu
Wed Oct 22 04:40:27 GMT 2008

Great! Thank you Matt.

Matt McCutchen-7 wrote:
> On Tue, 2008-10-21 at 12:24 -0700, rumcho wrote:
>> Is there a "pretend" option in rsync that will just show the transfers it
>> is
>> going to do without actually doing any transfers?
> The --dry-run option disables actually doing the transfers.  You would
> use it in combination with whatever output options you like (-v, -i,
> --out-format, etc.).
>> Or even better, after it shows the transfers it is about to do to prompt
>> if
>> user would like to proceed.
> That is not currently implemented.  One way this could work is to use
> --delay-updates --delete-after and prompt the user just before the
> delayed update/delete pass.  If the user cancels, staged files will be
> left in .~tmp~ directories in the destination, but these can easily be
> deleted by a shell script.
> Matt
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

View this message in context: http://www.nabble.com/%22pretend%22-option-in-rsync--tp20097334p20103887.html
Sent from the Samba - rsync mailing list archive at Nabble.com.

More information about the rsync mailing list