Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run Robocopy in "Report Only" Mode

Tags:

robocopy

I have a fairly simple robocopy command here that I want to run that will upload files to an Azure storage account. The problem I have is I'm looking at approxiately 70,000 files but a lot of these already exist in the storage account.

What I want to do is run the command in a "Log Only" or "whatif" mode so I can see how many files will be copied and how many will be skipped. This command gives that detail but will perform the copy. Is there a switch I can add that will simply provide the log and NOT copy the files?

S:\inbound\ \\<storageaccount>\<filesharename>\inbound\ /r:3 /w:3 /e /xo /xx /LOG:Robocopy_20200313_Manual.txt
like image 840
Bevan Avatar asked Jan 24 '26 20:01

Bevan


1 Answers

Yes, you may try the switch /L which means List Only but Will Not Copy any files or Change any attributes.

like image 134
Togor Avatar answered Jan 26 '26 23:01

Togor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!