Robocopy (or "Robust File Copy") is a command-line directory replication command.

learn more… | top users | synonyms

0
votes
1answer
10 views

What happens when you use Robocopy between two remote computers on your WAN?

Some details: I have a local server at one of the branches of the company I work for that has some pretty bad internet. I am using Robocopy to move some big files to the server once then using it ...
0
votes
0answers
24 views

Robocopy: ERROR 5 (0x00000005) Accessing Source Directory \\server\ParentFolder\ChildFolder\ Access is denied

I have the following robocopy command to copy the directory from a folder on the network location to another folder on the same network location: @ECHO OFF for /f %%a in ('wmic os get LocalDateTime ^|...
0
votes
1answer
27 views

What is fastest for nightly Windows7 local drive to USB external drive backup: ROBOCOPY, XCOPY, or BeyondCompare? [on hold]

I have a batch file that backs up all my work every night. It copies my internal C: an SSD to my primary external USB-3.0 hard disk, and also that primary external hard disk to a secondary external ...
0
votes
2answers
17 views

Robocopy - enable data validation?

I am copying a file using robocopy, however I have noticed that the destination file is always corrupted, is there an option with robocopy I can use to ensure that each chunk is validated during the ...
0
votes
1answer
12 views

windows server 2008 r2 - Script on server needs interactive user input

i have a small script running which listens for a specific ip to get online in the network. (for a robocopy job) I have split this into two things: If the client is connected via vpn, ask the user if ...
0
votes
2answers
38 views

how to use space within pathname for Window's Robocopy

When my path for robocopy has a space, I surround it with " but get the weird error below... My .bat file contains: rem Backup scans ROBOCOPY "C:\Users\doug\Documents\My Scans\" "B:\BACKUP\My Scans\...
0
votes
0answers
46 views

Robocopy transferring more data than available on source

first question on StackExchange, so apologies if there are etiquette breaches! I am using Robocopy to mirror a complete disk drive to an external drive for backup/archive purposes. I used the ...
0
votes
0answers
22 views

robo copy delete files from backup after x days of deletion from source

i want to create a backup of files using robo copy.I want files in backup must be deleted after x days of deletion from source.But it must be avilable in backup for x days.purge /minage:x is deleting ...
1
vote
1answer
45 views

How can I copy files from A to C, only including files that exist in B?

in reference to this How can I copy files from A to B, only including files that exist in B?. How can i copy files from A to C only including files that exist in B. Folder "A" (C:\) ...
1
vote
1answer
30 views

At what point does Robocopy overwrite a file?

I'm running a .bat containing: robocopy \\server\directory\ .\localdir /MIR This moves a single file from a server to my local directory. It's a large file and will take a while to finish, however ...
0
votes
1answer
33 views

Incremental back from one network location to another network location via ROBOCOPY?

Here is the scenario, SOURCE - //END-PC/Sourcefolder DEST - //FIRST-PC/Destinationfolder Source folder has around 60-70GB of data which are Excel, Word, jpeg, pdf and all sort of work related ...
0
votes
1answer
16 views

robocopy: only list what will be deleted from destination

I want to list what will be deleted from the destination directory. I tried: robocopy U:\ R:\ /L /E /NOCOPY /PURGE
0
votes
0answers
31 views

Robocopy problems - skipping files and ignoring /IS switch

I'm experiencing a weird problem that I cannot fix. I've simplified and narrowed down the problem in the following example: I've got 2 identical folders: D:\test D:\dropbox\test They both contain ...
0
votes
0answers
20 views

Moving folders and their content by the folder date and keeping the original time and date

I've checked several software packages and tried testing with Robocopy to move folders by their creation dates regardless of what the dates of the files are inside. Can this be done? It needs to be ...
0
votes
0answers
16 views

Movings files older than a certain date with Robocopy (Win 7)

I'm trying to move all files older than a certain date in a directory and all subdirectories to an Archive folder I set up. All it is doing is listing what is already in the Archive folder. I feel ...
0
votes
2answers
85 views

Robocopy what is the command to copy a dvd to my Hard Drive excluding a Folder?

I want to copy all the folders, subdirectories and files from a DVD to my hard drive excluding a Subdirectory, using Robocopy, what is the command for this task using this path? Copy all from D:\ ...
0
votes
0answers
47 views

Backup an arborescence from Robocopy /CREATE to WinRAR archive in one step

I would like to know if it's possible to save a large arborescence / file tree using Robocopy with /CREATE switch (which creates zero byte files -- the purpose is to have a reference of the files/...
0
votes
1answer
154 views

How to copy a directory on Windows, preserving timestamps of all directories being copied

I want to copy a directory tree while preserving timestamps of any file and directory that is being copied. The source directory is on a data DVD (ISO-9660 filesystem). I am copying to an NTFS ...
0
votes
0answers
46 views

Merge folders and keep different file versions

Is it possible to merge multiple folder and keep all files in e.g. Windows 10. I was thinking about something somehow similiar to the Windows File History. For example, i have 2 folders (c:\folder, d:...
0
votes
0answers
51 views

How to gentaly stop Robocopy

Since Robocopy is monitoring the source folder at least 1 minute or more, but one of my task needs to monitoring the source folder and move files shorter than 1 minute, like 10 seconds. A work around ...
0
votes
1answer
29 views

About robocopy slient operation result

I want to use robocopy to mirror a one way backup(mirroring) a directory, there are a lots of file list out what it is copying and flushing the screen all the time, so I search on Internet to how to ...
1
vote
1answer
41 views

How to back up only newer files

I wrote years ago a script using XCOPY with parameters /E /D /Y /V /R /H that allowed me to back up newer files to my dropbox having always everything updated. Since I upgraded to Windows 7 and 10 ...
0
votes
0answers
28 views

Robocopy e Compare Commands

I have two problems. I used ROBOCOPY to backup my external HDD in another external HDD. After skipping Error 2 and Error 5 using the following line: C:\>robocopy E: G: /e /r:3 /w:1 /sec /mir /z /...
0
votes
0answers
23 views

Robocopy: how to sync renames without deletions?

Basically I'm trying to emulate SyncToy's "Contribute" in Robocopy. "New and updated files are copied left to right. Renames on the left are repeated on the right. No deletion" With /purge it ...
1
vote
0answers
44 views

Robocopy not seeing new files if in the middle of copying a file

Doing some testing with robocopy on Windows 7 from local disk to a USB stick with this command (mostly copied from another post): ROBOCOPY c:\RC_Source d:\RC_Dest /E /ZB /XJ /XF "~." "~." "desktop....
0
votes
0answers
29 views

Robocopy keep directory structure intact but include a large number of files

My question is basically the same as this one except I have a list of 370 files that have to be copied from source to destination. So my initial directory looks like folder1 folder2 folder3 ...
0
votes
3answers
106 views

How does RoboCopy scan folders?

I have inherited a Transfer job at work that is causing me some issues. We are using RoboCopy to transfer files from location to another location. The script does copy the files fine but is set to ...
1
vote
1answer
104 views

Copy specific folders on Windows (robocopy)

I want to do some thing simple (I thought...) I've got something like this: Folder01 |_File1 |_File2 |_File3 Folder02 |_File1 |_File2 |_File3 Folder03 |_File1 |_File2 |_File3 ...
3
votes
1answer
61 views

Robocopied files show in CMD but not in Explorer

I'm helping a friend to setup a back drive on his W7 machine. I installed a new hard drive internally to serve as a backup. I then wrote a simple script.bat that lives in his home folder, to be ...
0
votes
0answers
35 views

Which of these robocopy options caused data loss

I was making one last backup copy of contents of an old hard drive I'm about to repurpose, and ran the following command (in an elevated shell) to try to move old documents: robocopy Documents\ and\ ...
3
votes
1answer
152 views

Use robocopy to mirror source but ignore timestamp

I want to backup a folder to a share on a linux nas with robocopy. I use the commandline robocopy /mir <source> <dest> After a succesfull copy in explorer the timestamps are equal but ...
2
votes
0answers
149 views

Why does robocopy still try to copy Thumbs.db even with XF option?

Using robocopy (version 10.0.10586.0) on Windows 10 to copy files from one drive to another using the following command: ROBOCOPY c:\src D:\dest /MIR /COPY:DT /DCOPY:T /XJ /XF Thumbs.db /XD "$...
1
vote
1answer
187 views

Write output of Windows Batch file command to text file?

I want to write the output of a robocopy command into a text file to see which files were copied. I tried robocopy drive:\ destination:\ /e /v>log.txt and robocopy drive:\ destination:\ /e /v /l&...
1
vote
1answer
167 views

Robocopy replace same date file move

I'm using robocopy to move data. I want to achieve this IF Source File data (Newer or Same) move/overwrite data Else skip file I need a switch or a way to just excluded newer not newer or same ...
3
votes
1answer
27 views

Robocopied Junction not Showing Icon? Robocopied Symbolic Link also Not Showing Icon?

I'm not familiar with how robocopy handles junctions, symbolic links, and hard links. I tried to copy one of each, and I noticed the icon that shows over a junction and symbolic link does not seem to ...
0
votes
1answer
41 views

Copy NTFS MetaData: Good Idea or Bad?

I wanted to "migrate" or "mostly clone" a drive to a new one. So, I robocopied a drive, and discovered that the destination has a few missing MetaData files including files from: B:\$Extend\$...
0
votes
0answers
32 views

Robocopy - misses files during copying (win7 Pro)

I'm using Robocopy to copy 60GB from one server drive to 2 drives in a dual (Duet) USB docking station. The commands used (both run at the same time) are: robocopy "i:\datax" "f:\datax" /copy:dat /e ...
0
votes
1answer
79 views

Access citrix mapped local drive from scheduled task in Windows

My setup is Linux Mint as host OS, which logs in to a Windows 7 machine using through Citrix. My local (linux) home directory is visible on the Windows system as \\Client\S$ What I want to do is ...
0
votes
1answer
347 views

Backup Files (robocopy) | Error on files in-use

OS: Windows 7 x64 (HomePremium) CMD: >robocopy [source] [destination] -options $ robocopy "C:\Users\itzme\AppData\Roaming\Mozilla\Firefox\Profiles\geo2eich.default" "E:\download\internet\firefox\...
0
votes
0answers
144 views

How to reconnect hard drive without having to reset computer?

So I've recently needed to copy some large folders (35GB+) from my SSD to my 1TB internal storage HDD. I tried to manually copy the files but after some time the copying would just freeze so I did ...
0
votes
2answers
3k views

Robocopy: Log names of skipped/Failed files

I am using the following batch file to run my robocopy command: @ECHO OFF for /f %%a in ('wmic os get LocalDateTime ^| findstr ^[0-9]') do (set ts=%%a) robocopy [source] [target] /log+:D:\logs\log_%...
0
votes
1answer
50 views

Append a string in the log file (.txt) created using robocopy

Currently with this command: robocopy Y:\source X:\target\Test /log:Y:\source\dem.txt /s /njh /njs /nc /np /ns /tee I am able to create a log file (dem.txt) which contains the name of the files ...
0
votes
3answers
225 views

Robocopy: How to copy assets from multiple locations to a single location and maintain a log

I have multiple folders containing assets (each folder has subfolders containing these assets .mp3, .txt, .png, etc). I want to copy all this assets along with the subfolder to a single location/...
2
votes
1answer
1k views

How do I create a log of robocopy actions and save in a text file named with today's date?

I am copying some assets from one folder to another using robocopy in command prompt. However, I want to log name of all those copied assets in a .txt file. This .txt file should be saved in the form ...
0
votes
1answer
35 views

Windows 7 thinks every folder is shared

I have a hard drive that I'm moving thousands of folders off, which I would do either using robocopy /mov or windows explorer cut and paste. Robocopy won't move the folders, and explorer prompts me ...
0
votes
1answer
105 views

Copying a subset of a large folder, preferably using robocopy

I want to copy some files from a huge share on a high-latency server. I can do it with multiple robocopy commands: robocopy /MT \\slow\share\path1 c:\my\path1 *.exe robocopy /MT \\slow\share\path2 c:\...
1
vote
1answer
266 views

Robocopy - NTFS Access is Denied

I am trying to backup a disk from one share to another using robocopy with the following command: robocopy \\servername\E$ \\servername\F$\Copy /E /ZB /copyall /r:5 /w:30 /dcopy:T /log:"C:\Temp\log....
0
votes
0answers
2k views

What is backup mode in Robocopy

I am trying to copy a large database backup file over network. The traditional program copy or xcopy failed with different binary resulted. Also tried robocopy without parameter, and resulted a ...
0
votes
1answer
169 views

Wildcard in rename and robocopy command into batch file

What I am attempting to do is automate some work I do daily. What I would like to happen is a prompt saying What is your name? Then use that answer as a variable to be used in different commands like ...
0
votes
0answers
210 views

robocopy cannot find the path specified

I wrote a small BATCH-File to sync my PC and Notebook folders for university. REM set tdate=%date: =% REM set tdate=%tdate:/=% REM REM set ttime=%time: =% REM set ttime=%ttime:.=% REM set ttime=%...