Questions tagged [robocopy]
Robocopy (or "Robust File Copy") is a command-line directory replication command.
506
questions
0
votes
1
answer
42
views
Changing a Backup using xcopy to one using robocopy in Win 11
In a Windows 11 Pro and Office 21 Pro environment on a Lenovo 13th Gen, Intel i7-55U, 16GB, 64 bit, Notebook, are there any pitfalls in an incremental copy of Dir/files from external drive F to ...
2
votes
0
answers
85
views
The same robocopy command is extremely slow on one computer and very fast on the other
I am facing the problem that the same robocopy command has totally different execution times on two different computers.
The source is a Windows Server 2016 Standard. There is a directory with approx. ...
0
votes
1
answer
24
views
Google Drive Desktop wasn't moving file, it's moved the file to trash then reuploading when moved by robocopy
So, I'm applying this 3-2-1 backup rule.
Folder form ssd-sync is synced to vhd-sync through robocopy, here is the argument command.
robocopy D:\ssd-sync E:\vhd-sync /LOG+:D:\ssd-sync\robocopy-...
-2
votes
1
answer
40
views
Why robocopy does not copy some files perfectly?
Here, NTUSER.DAT is different between the 2 different files. As if they're not overriden as they're supposed to.
The statement I use is this
robocopy "D:\Users\TeguhProg" "C:\Users\...
0
votes
1
answer
35
views
robocopy XD exclude does not seem to work sometimes
For example:
robocopy c:\folder d:\folder /MIR /ZB /FFT /MT:32 /R:10 /W:5 /NP /XD cache temp /sl /xj
I can clearly see it copying folders with "cache" and "temp" in it. (ie. c:\...
0
votes
0
answers
34
views
How to make robocopy overwrite files?
I cannot make robocopy overwrite files.
I need to get copy speed stats on one big file but the file to copy is skipped once already copied :
PS C:\> ls ~/Downloads/19041.1.191206-1406....
3
votes
1
answer
543
views
How can all files on my drive suddenly have modified timestamps set to 1 hour newer than a week ago?
I regularly back up most of my files using Robocopy using the mirror function.
I haven't noticed anything odd in the past days, since I most frequently backup to another SSD. But to my horror, when ...
0
votes
1
answer
106
views
robocopy recursive - trying to copy particular files from source to destination
I have a folder structure, let's call it C:\source, and beneath it are various folders. In those folders are a variety of files. I want robocopy to copy all .DOC files in the entire source tree to a ...
-1
votes
2
answers
177
views
Add confirmation after executing ROBOCOPY command
I have started to use ROBOCOPY command a lot. I use ROBOCOPY source destination /MIR. Is there any way to add confirmation, "y/n" after the command is executed, but not actually ran. So I ...
0
votes
0
answers
70
views
Can I use Robocopy /move yet still preserve creation and modified timestamps of all directories and subdirectories?
I am trying to move all files and directories and subdirectories including empty ones while preserving both creation and modified timestamps. I tried robocopy but it seems no matter what parameter I ...
0
votes
0
answers
28
views
Rotate destination folder with Robocopy
I use this command Robocopy D:\DIR1 E:\DIR2 /MIR to keep the contents of two folders synchronized:
How do I keep 5 separate copies of the target folder, while deleting the sixth-oldest one?
0
votes
0
answers
67
views
Robocopy /Purge /Move - at what point/how will destination folders/files be deleted?
I have read both At what point does Robocopy overwrite a file? and At what point does Robocopy overwrite a file?, and neither seem to address my question or I'm totally clueless. Example(s):
Parent-...
0
votes
0
answers
26
views
Robocopy /MOVE, directory\tree not recreated, Win-11\Home
The line below previously worked with Win-10\Home; dir\tree remained intact.
robocopy D:\ A:\Bak_Up /E /ZB /dcopy:dat /LOG:A:\Bak_Up.log /TEE
By comparison, using Win-11\Home from the below .bat, ...
0
votes
1
answer
113
views
Robocopy from corrupted SD Card hangs on some files despite /R:0 /W:0. Manually adding each to /XF list and reruning is too slow. How can I automate?
I'm trying to recover thousands of photos and videos from a corrupted SD Card.
I've tried to recover the SD Card with chkdsk /F /R /X . Here is the relevant output:
"Corruption was found while ...
0
votes
1
answer
70
views
Robocopy copy: report: Dirs, Files, and Bytes are all 0 for Extras, but Times is 0:00:01. Why?
I copied a few files with robocopy on Windows 10. In the final report, Dirs, Files, and Bytes are all 0 for Extras, however Times is 0:00:01 for Extras. How is that possible?
Total ...