Hello, I know robocopy ''Mirror'' command sync both source and destination, but is there a way to stop files that were deleted from source from being deleted at the destination?
@lessonzillaАй бұрын
You can test with the XO switch/command and see if it gives the results that you are looking for.
@commonmanchennai25 күн бұрын
Which is the best command line to move files and folders completely from SOurce to destination without missing any files or folders even empty or restricted everything. Pls help
@lessonzilla25 күн бұрын
You can use something like below. Change the source, destination and log file path to suit your needs. Always test the command before deploying. robocopy "C:\Source\Path" "D:\Destination\Path" /MIR /COPYALL /R:3 /W:5 /LOG:"C:\Path\to\LogFile.log" /TEE
@rickh48282 ай бұрын
I use the mirror command, will the folder be constantly mirror or do i need to run the command every time?
@lessonzilla2 ай бұрын
Yes. Depending on how often the files on the source folder changes you may want to run it daily or alternate days or weekly etc. if you do not want to do this manually, you can create a batch file and create a task schedular task to run it automatically on a frequency of your choice.
@rickh48282 ай бұрын
@@lessonzilla first thank you for the video great video.. would I run the same code I originally ran with Mirror commend or different?
@lessonzilla2 ай бұрын
@@rickh4828 same mirror command every time you want to mirror