I want to do something like this https://www.ubackup.com/synchronization/robocopy-two-way-sync-8523.html I got the impression that robocopy is syncing.
That is it looks like if the file is older or newer and always replace older files with newer files.
However, others say that robocopy is copying file. So file in destination will be replaced whether it's newer or older
Which one is right?
I am thinking of using /e and /z parameter but nothing in https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
says whether /e and /z means they are syncing or copying.
Microsoft official page says they're copying. Nothing in that page says that robocopy will check first if the file on the destination is older or newer.
I used robocopy once and sometimes I got things like skipped, older, and newer.
I can understand replacing old copies with "newer" copies but older?
I did some bat files
robocopy "arbitrage3" "arbitrage4" /e /z
robocopy "arbitrage4" "arbitrage3" /e /z
echo Sync Complete
pause (It prevents the console window from closing after executing the command.)
212 C:\Users\TeguhProg\Dropbox\arbitrage3\ *EXTRA File 129966 System.Diagnostics.DiagnosticSource.xml 100% New File130 bitcoinopportunities24.xml 100% New File
106251 bitcoinopportunities26.deps.json 100% New File
738816 bitcoinopportunities26.dll 100% New File
6793 bitcoinopportunities26.dll.config 100% New File
154624 bitcoinopportunities26.exe 100% New File
275324 bitcoinopportunities26.pdb 100% New File
358 bitcoinopportunities26.runtimeconfig.json 100% New File 106251 bitcoinopportunities27.deps.json 100% New File 781312 bitcoinopportunities27.dll 100%
New File 6793 bitcoinopportunities27.dll.config 100% New File 154624
bitcoinopportunities27.exe 100% New File 280480
bitcoinopportunities27.pdb 100% New File 358
bitcoinopportunities27.runtimeconfig.json 100% Older
609503 checkthisurl.txt 100% Older
496139 coinmarketcap.txt 100% Older
375 Currencydata.txt 100% Older 178
desktop.ini 100% Newer 8264
emulatethese.txt 100% Older 13.9 m
First5000Coins.txt 100% Older 211489
GridFilledOrderReport30.txt 100% Older 208262
GridFilledReportsGroupedbyPair30.txt 100% Older
211289 GridTradeReport30.txt 100% Older
3.5 m log.txt 100% Older 0 marketlist.txt 100% Older 581771
markettocoin.txt 100% Older 609465
newlines.txt 100% Older 69271
oparbitragestraight1000.txt 100% Older 45603
oparbitragestraight10000.txt 100% Older 40547 oparbitragestraight20000.txt 100% Older 30991 oparbitragestraight50000.txt 100% Older 610553 opbuylowsellhigh1000.txt 100% Older 492255
opbuylowsellhigh10000.txt 100% Older 235368
opbuylowsellhigh20000.txt 100% Older 87001
opbuylowsellhigh50000.txt 100% Older 68265
oplowSigDigit1000.txt 100% Older 43989
oplowSigDigit10000.txt 100% Older 22007
oplowSigDigit20000.txt 100% Older 10153
oplowSigDigit50000.txt 100% Older 12.8 m
opportunities.txt 100% Older 461913
orders.txt 100% Older 44416 pairs.txt 100% Newer 0
priceofbasecurrencies.txt 100% Older 187126
pricestep.txt 100% Older 235385
simplegridtrade2.txt 100% Newer 242805
simplegridtrading.txt 100% Older 3.0 m
tentative.txt 100% New File 165
~$indodax.xlsx
Some comments say that only difference between robocopy and normal copy is that robocopy skip similar files (with same date and size). What about if source is older in the source file, will it replace the newer file in the destination?
If robocopy skip similar files then the only difference between robocopy and normal copy is the speed of copying.
A comment says I need to add /xo to exclude older files but it's not specified anywhere. Obviously if I want to sync I got to add /xo so the newer file "prevail" whether it's in destination or in the source.
But nothing clearly says that. This links doesn't say it https://www.ubackup.com/synchronization/robocopy-two-way-sync-8523.html