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

learn more… | top users | synonyms

1
vote
1answer
16 views

Error when trying to copy over the network using robocopy

C:\Users\Alex.Newton>robocopy /"\centlpf01cz6c\c$\Program Files\ProgramName\/" /" \centlpf01cz6c\Program Files\TestBatch\Test\/" ...
0
votes
0answers
20 views

Robocopy using souring source and destination pc as shared folders

Scenario: I have 3 pc's on the network. Lets name it A, B and C PC A - used to run robocopy. PC B - has shared folders on the network - source. PC C - has folders onto which files from B are ...
0
votes
0answers
15 views

Full copy OS drive via network

I want to use Robocopy to copy entire "C:" drive from one machine to another. problem is that on this machine there are many files that are opened by other processes since this is the OS drive. how ...
-1
votes
0answers
16 views

How do I launch Robocopy with a scheduled batch file and not have the command prompt appear? [duplicate]

I'm using Robocopy to keep two hard drives constantly synced up. I've created a task which runs the following batch file: @echo off robocopy "D:" "L:" /MIR /Z /MOT:1 /MON:1 /XA:H /R:1000000 /W:5 ...
-1
votes
0answers
27 views

Using Robocopy to copy files in order, not alphabetically

Do you guys know of a Robocopy switch that will allow me to mirror my Links (Windows 7) in the order I have them on my main machine, to another machine? When I run Robocopy now, all the Links copy ...
0
votes
0answers
13 views

Robocopy backup via Citrix wrong timestamps

I connect to a Windows 2008R2 via Citrix from a MAC. The task is to backup the HDD to my local HDD which I connected as a network drive z: in Windows. The problem is that on my Mac the files modified ...
1
vote
0answers
34 views

Why is Robocopy frequently crashing on Windows 8 systems?

Since years we are using Robocopy to replicate files between Servers around the world. Now we have Windows 8 64 BIT Servers in China to which we have to replicate some files. But with this OS we ...
0
votes
0answers
18 views

Robocopy Wizards: Copy Multiple User's Stickies

Any Robocopy Wizards out there? Trying to figure out how to make a copy of the Stickynotes file (C:\users\UserName\AppData\Roaming\Microsoft\Sticky Notes\StickyNotes.snt) for all users, and place it ...
1
vote
1answer
58 views

Robocopy Log File Meaning of New File, New Dir

I've been learning and using robocopy a lot for the last few weeks. One thing I have not been able to find is good documentation on the terms used in the default log file. There is no header row in ...
1
vote
1answer
40 views

Can robocopy show the console and create a log file?

I'm working with robocopy for the first time and have got most of it figured out and working well except logging. I have experimented a bunch and if I run my job like this: robocopy /xc /xn /xo ...
0
votes
2answers
36 views

Windows command line copy based on binary file comparison

I'm looking for a utility, built-in or not, that can let me essentially perform a robocopy-like operation but with a binary file comparison instead of date comparison. Essentially, I have a git hook ...
0
votes
0answers
20 views

Robocopy to Remote Windows Server

How do I tell robocopy not to create a directory on the remote server if its root directory does not exist? For example, Source: c:\temp\user1\ssh Dest: c:\temp\user1 ...
1
vote
4answers
213 views

Moving a folder across the network

I need to move (not copy then delete, for the sake of file verification) a folder from a network folder to another network folder using Powershell. I have tried Move-Item (where test1 is a folder): ...
0
votes
2answers
26 views

Robocopy unable to distinguish destination from source

I am using a robocopy batch file to backup my work. This is the code in my .bat file: @echo off cls echo press any key to continue backup! pause ROBOCOPY "F:\source" "D:\destination" /s /e /xf ...
0
votes
0answers
11 views

How to control speed on Copy Paste [duplicate]

My situation is the speed of syncing files through vpn need to be controlled to 500K. I have couple of scripts running on schedule using powershell, robocopy. The process is basically just a copy and ...
0
votes
2answers
82 views

Replace files smaller than 1KB from backup

I need to use backups to replace corrupted files on a shared folder. All corrupted files are fixed size = 1KB and have the archive flag set. Basically, I'd like to replace files in the destination ...
0
votes
1answer
54 views

Xcopy or Robocopy Only files that have a certain date on the destination file

I'm trying to restore files that have been encrypted by cryptowall. I have the files copied onto an external drive that I'd like to copy over the destination files on the data drive. I know exactly ...
1
vote
1answer
22 views

Network storage and backup [closed]

I had a MS 2003 server on my home LAN as an AD DC (inc DNS). It's main purpose was to share files (photos, music, family docs etc) and to act as a backup facility for the desktops. laptops on the LAN. ...
-1
votes
2answers
56 views

How to create a USB that copies all photos from PC to which it is connected, using Batch files?

I tried doing this, but it is not working :: variables /min SET odrive=%odrive:~0,2% set backupcmd=xcopy /s /c /d /e /h /i /r /y echo off for /r C:\ %f in (*.jpg) do @copy "%drive%\all\pics" @echo ...
0
votes
1answer
125 views

How to copy a file to a destination only if the source file is newer than any of the destination files?

I'm looking for a way to accomplish this task. I've tried robocopy and writing a batch file, but robocopy doesn't seem to be able to do it (since /MINAGE can't do time--only dates), and writing a ...
0
votes
0answers
58 views

copying files from one server to another windows

I have a script where I login to a windows 7 machine(Let's call it A) using SSH. In my SSH session, I am trying to copy files from a share(Let's call it B) to A. I've used cygwin on machine A for ssh ...
0
votes
1answer
112 views

Run batch as ADMIN & use robocopy

I need to copy from %USERPROFILE%\Desktop to B:\Desktop where B is a mapped network drive. The code inside BAT file is: powercfg -change -standby-timeout-ac 0 robocopy "C:\USER\DESKTOP\" "B:\DESKTOP" ...
1
vote
0answers
17 views

Robocopy /purge only without archive attribute

i am working on a robocopy command to sync different folders. But for some reasons i just want to delete with purge the files without an archive attribute. Is this possible? /Purge /E /NOCOPY ...
0
votes
1answer
62 views

Copy all files from one drive to another filtering by date

have been tasked with getting all files (not folders) from one drive with a date modified value of 19/01/2015 and copying them to the same location on another drive. I have been looking in to xcopy ...
0
votes
0answers
165 views

Robocopy /mir - verify it copied everything?

I ran the following command to backup one external drive onto another (Windows 8.1 x64): robocopy /mir G:\ V:\backup /MT:8 The result says that 115161 directories and 992981 files were copied, ...
0
votes
1answer
44 views

Robocopy not copying proper last accessed time stamps

I am using Robocopy 5.1.10 and it does not copy the last accessed time attribute on files. I am using below handlers with robocopy which copies all the data very well except the last accessed time ...
0
votes
1answer
111 views

Batch File:List all files of a type, rename files, flatten the directory

I am looking for help with a batch file(s) that will allow me to move all files of a particular type (*.PDF's for example) to a new folder. HOWEVER I would like to have features not readily apparent ...
4
votes
2answers
2k views

Use OneDrive as additional backup location

I'm trying to take advantage of the fact that OneDrive now offers unlimited space, and allows these files to not take up space locally. I already have a backup system in place, but I would like to add ...
0
votes
0answers
17 views

Skip previously faulty files on a robocopy restart

I'm copying large amount of files from a cloud drive. Over TB totals with file sizes around ~10mb. A lot of them became corrupted with time. My network is unreliable and I have to restart robocopy ...
1
vote
1answer
70 views

Windows Use Robocopy to copy all files except .sas7bdat

I know that if using robocopy to copy only files of type .sas7bdat I would use the following code, ROBOCOPY C:\source C:\destination *.sas7bdat /E How can I reverse this to copy all file types ...
0
votes
0answers
32 views

Robocopy files only with a certain date

I am looking to copy files from x: to z: only if the destination file has a date changed of 9/23/2014. If the destination file has an older or newer date, don't touch it. X is my backup and Z is the ...
0
votes
0answers
90 views

Robocopy /Z switch - copy not resuming after killing the process

I am creating a wrapper windows service for robocopy and I have design need to sometimes kill the robocopy process during large transfers but when I restart copying using robocopy, it just starts ...
0
votes
1answer
206 views

robocopy /mir not duplicating folder structure

I'm using the following script to archive everything prior to Jaunary 1, 2013: foreach ($i in Get-ChildItem "O:\Projects” -Force -Recurse) { if ($i.LastWriteTime -gt ($(Get-Date).AddDays(-649))) ...
1
vote
1answer
125 views

Error 5 (Access Denied) copying files - Script that once worked stopped mysteriously

I am baffled. I've been running a robocopy script on my Windows XP box for several years without trouble. Recently, it has been failing occasionally with error 5 - access denied. My script is a ...
1
vote
0answers
504 views

Can the “Are you sure you want to copy this file without its properties?” halt be stopped when copying files?

When I copy data on my computer, I get a dialogue box with the message Are you sure you want to copy this file without its properties? I know why this message pops up, but it does not make it ...
4
votes
2answers
9k views

ROBOCOPY command to do an incremental backup

I am overwhelmed by the ROBOCOPY documentation. I want to do an incremental backup of my local files to the network drive (M). I want it to run as quickly as possible, with no log file and with as ...
1
vote
1answer
109 views

How do I tell robocopy to ignore timestamps?

I have two copies of my Music directory on separate drives. One is a thumb drive that I carry around with me so I can listen to whatever whenever. Initially I copied this directory to the thumbdrive ...
0
votes
0answers
380 views

Copy Data over network using Robocopy - Error 3

I am trying to copy data over a network from one drive mapps as I: to another mapped as H: on my computer. I tried to run the following : Robocopy I:\ H:\ /MIR /Z However I am getting the ...
0
votes
1answer
45 views

File copy, based on size

My access .mde file gradually grows in size, starting at say 50Mb. I want to write a batch file that will copy and overwrite the file (with a clean version), when it grows beyond 10% (say 55Mb). ...
0
votes
0answers
77 views

Is there a way to copy Userprofiles with Robocopy and keeping the junctions symlinks?

In the Internet you read a lot of Tips how to copy your userprofile with robocopy safely from Recoveryconsole. The usually recomend robocopy source target /xj..... The problem with the /xj switch ...
0
votes
0answers
30 views

Robocopy - Data Copy - Reading files

I copied the data from one server to the other using robocopy. on source server - one particular file cannot be opened Target server - The same file opens on double clicking NOte: I have copied the ...
2
votes
2answers
1k views

How does Robocopy determine if a file is “changed”

I'm lookin here for detailed info about how the algorithem of Robocopy determines whether a file has changed or not. If i use for example the /mir paramter Robocopy must determine which files are ...
0
votes
0answers
193 views

Robocopy Isn't Syncing the Read-only Attribute

I use Robocopy as a backup solution. One thing I noticed is that if a file gets backed up and then I decide to mark the original file as read-only, the next time that file gets backed up, the backup ...
0
votes
0answers
97 views

Does robocopy /Z not reliably work when aborting the process?

I am copying some large files from a slow NAS to a local machine. The command line is quite simple robocopy /Z P:/Data D:/Data There are some very large files and I would like to power off the ...
1
vote
0answers
39 views

I copied a folder with copy&paste instead of 'xcopy'. How to fix that?

I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder). ...
-1
votes
1answer
271 views

Batch file to copy files from server to desktop according to date

I will explain what I´m trying to get up and runing. I have a folder on the server containing several subfolders and zip archives in those folders. The string of the server is like: ...
0
votes
1answer
266 views

Sync local files to S3 similar to Robocopy

I am looking for a way to synchronize an entire local folder structure to Amazon S3, similar to how one might synchronize two folders using Robocopy. Whatever solution I come up with needs to be ...
0
votes
1answer
126 views

Robocopy with 300,000+ files

We have a network appliance for our shared storage. We have a fax application that dumps faxes into a single, incoming, directory. We want to start archiving files older than X days. Currently, there ...
0
votes
1answer
263 views

“Copy but keep both files” but only for files with different timestamps

I'm trying to consolidate 5 very similar but slightly different tree structures into a single one but not lose any modified data. So, I need a solution that will: 1. Copy files that exist in the ...
2
votes
1answer
2k views

Robocopy copy only changed files to new folder

I'd like to create a backup such as the following: C:/backups/20140101/ All files from source folder C:/backups/20140102/ Only files changed since last backup C:/backups/20140103/ Only files ...