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

learn more… | top users | synonyms

-1
votes
1answer
14 views

Copy file by type with folder structure

I have a big tree of file something like folderA folderB file.any file.txt folderC folderD folderE file.txt file.any I need to copy all *.txt files with folder tree. ...
1
vote
0answers
17 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 ...
1
vote
0answers
59 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 ...
0
votes
1answer
38 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
21 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
22 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
23 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
12 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 ...
0
votes
2answers
73 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
26 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
22 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
27 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
116 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
96 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
0answers
26 views

Copying directories and files with the same stem using Robocopy

I'm using Robocopy as a TFS task in order to deploy some files. Basically, the behaviour that I want is as follows: I have a directory \\MyDir containing: MyFile1 MyFile2 MyFile3 TestFile1 MyDir1 ...
0
votes
1answer
60 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
127 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
1k 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 ...
0
votes
0answers
30 views

create subdirectories with Robocopy /CREATE?

Just got a new hard drive and I was looking for efficient ways to backup all of my data onto the new drive. I came across robocopy and read here that if I use the /CREATE command it will make all of ...
0
votes
1answer
89 views

robocopy using parent folder name

I have a small batch file that uses robocopy to backup a folder. The intended action is for it to copy C:/users/public/ into D:/Backups/YYYY-MM-DDTHHMM/ At present, it copies the files into a folder, ...
1
vote
2answers
1k views

Batch file, skip a step if an error occurs

I'm trying to write a script that automates copying some files from two external locations using Robocopy. I want the script to skip a step if one of the locations is unavailable. I'm using the ...
1
vote
1answer
154 views

Need to create a robocopy in Powershell 1.0

My ultimate goal is to mirror a folder and its subdirectories with the restriction of only copying files with the extensions, sln, vcxproj, cs, cpp, hpp, c, and h. There are far too many subfolders ...
0
votes
1answer
33 views

Monitor or record a robocopy operation

I have a robocopy command that backs up a folder containing over 200K files into another folder called Backup. Lately, I notice that the backup is now taking additional 1hr to complete even though the ...
0
votes
1answer
814 views

robocopy ERROR 1314 (0x00000522) on Windows 7 Home Premium

I'm using a robocopy script with the switches /COPYALL and /B on my Windows 7 Home Premium PC to backup files to a NAS and I'm getting the error message: ERROR 1314 (0x00000522) Copying NTFS ...
1
vote
0answers
41 views

is robocopy over a network share secure against eavesdropping?

IMHO using robocopy for copying files to a remote windows network share should use the encrypted channel provided by windows file sharing ove a network. Can anyone confirm? Thank you.
-1
votes
1answer
188 views

Robocopy misunderstanding of destination folder

I want to create a simple script to move the entire contents of a folder up in the parent directory, and insert it in the context menu. Here is the script. I'm trying to understand how robocopy ...
0
votes
2answers
149 views

Script to quit program prior to Robocopy

I'm setting up a backup script for a client that will be scheduled to run once a month to backup his 200GB iTunes directory to his NAS. It's compiled using some defined parameters and ROBOCOPY ...
1
vote
4answers
4k views

ROBOCOPY Copying directory from remote computer: error 'the network path was not found'

I am trying to copy a folder from a remote computer using ROBOCOPY I'm using the following: NET USE \\192.168.10.90\IPC$ /u:server\[username] [password] ROBOCOPY \\192.168.10.90\home\lgr\ ...
1
vote
0answers
221 views

Robocopy; How to copying missing files to a different location from original copy?

I am using Robocopy to transfer around 1 tb worth of files from an external drive to a virtual Windows Server 2008 machine hosted on an ESXi 5.1 VMWare server using USB pass-through. I used the ...
1
vote
1answer
616 views

Robocopy options in windows 8.1

I am trying to copy 1TB of data. I want to copy everything possible, what kind of Robocopy options are recommended in this case? I use: /E = copy all all subdirectories including empty /dcopy:T = ...
1
vote
1answer
55 views

File copy software that first checks for errors and than copies only undamaged files? [closed]

I'm trying to copy files from a damaged HDD to a fine one (both connected via USB 3.0 under Windows 8.1) but I'm having a hard time since it's more than 1TB of data. I'm using robocopy with r:0 and ...
3
votes
1answer
637 views

Windows 7 Delete heavily nested folder structure

I was running a node script that went awry and created a folder structure like so: \myfolder \myfolder \file.txt \myfolder \file.txt \myfolder ...
2
votes
1answer
26 views

Trying to pseudo-sync 2 computers - why folders renamed?

Trying to pseudo-sync 2 computers - why folders renamed? Windows 7 - new computer Vista - old computer I create a new folder OldComputerDesktop in C:\Users\joeblow. I execute this: robocopy.EXE ...
1
vote
3answers
525 views

Looking for a way to copy a file that does not lock the file being copied

I am aggregating together data that is being generated at a bunch of disparate sources, in a mixed environment of various versions of windows (xp/7) and one linux (centos). The data is available via ...
0
votes
1answer
203 views

Robocopy: copy files preserving folder structure but adding a subfolder

I need to copy a folder which contains subfolders with files to a shared folder on another machine. During that, the script should create a custom subfolder in each destination folder and place files ...
1
vote
0answers
241 views

Performance of RoboCopy when complex folder structure & files are to sync

I would require some recommendations from you about the challenge that I am currently facing. Background : There are Network Attached Storage in the US and India Office. All the data currently ...
0
votes
1answer
112 views

Robocopy From Folder A - Only differences between Folder A and Folder B, to Folder C?

I have a system setup where 2 folders on separate drives / locations are normally mirrored via DFRS. This works perfectly and I have no issues with this. However, the system that owns these files (a ...
3
votes
1answer
46 views

Does robocopy make a local copy of the files?

I have a seagate NAS which I access over a shared folder. I also have 3 computers with a shared folder. I want to backup files from the 3 computers to the seagate NAS. I cannot run those tasks with ...
0
votes
0answers
64 views

Prevent percentage complete writing in robocopy logs

When creating a log file for a robocopy operation i find the log file is peppered with lines such as: New File 58492040 ...
0
votes
2answers
64 views

special copy (maybe Robocopy) requierement

I have a special copy (maybe Robocopy) requierement: I have: A source directory (with sub-directories) A target directory (with sub-directories) Both directory structures are nearly the same. But ...
0
votes
0answers
409 views

Robocopy ERROR 32 (0x00000020) Deleting Source File xx.pdf The process cannot access the file because it is being used by another process

Robocopy ERROR 32 (0x00000020) Deleting Source File xx.pdf The process cannot access the file because it is being used by another process. Situation: users have an assigned folder to place file(s) ...
1
vote
1answer
113 views

Robocopy Issues

I try to backup my data with robocopy but having some problems with that: First thing is, that robocopy copys files that already exists and hasn't been changed. Also the output looks horrible if it ...
2
votes
1answer
2k views

Robocopy /XD Won't Work With Relative Paths

I am trying to run a robocopy /MOVE command but exclude a couple of sub-directories specified with the /XD flag. robocopy ".\CurrentDir" ".\NewDir" /XD ".\CurrentDir\SubDir1" ".\CurrentDir\SubDir2" ...
1
vote
3answers
222 views

Sync Only New Files

I have a large collection of photos. I only want to sync the latest (in my case right now 1 year) to a laptop. I have tried syncovery and Goodsync without seeing any modifiers that would only select ...
0
votes
0answers
65 views

Copy folder structure on Windows except for one folder with files

I need to copy folder structure without files except for one sub-folder. That is I want to copy the folder structure without files plus only one of the sub-folder to be copied with its content. I can ...
1
vote
1answer
479 views

Hidden folder in Robocopy

I'm trying to backup a hard drive with two partitions on it to another drive with only one partition using Robocopy. I am running my commands in PowerShell. The source drive is a USB2.0 drive and the ...
0
votes
0answers
75 views

RoboCopy - Moving Data with Preservation

Robocopy D:\ Z:\c /E /Z /B /COPYALL /DCOPY:T /SECFIX /MIR /SEC /xd "RECYCLER" "$RECYCLE.BIN" "System Volume Information" "Thumbs.db" Some files I get the access denied error even when running as ...
0
votes
1answer
2k views

Can Robocopy ensure file integrity?

I am trying to copy a large file, around 10G size, over Internet using Robocopy, but I am a bit concerned about the file integrity. So can I just trust Robocopy to ensure file integrity or I need to ...
0
votes
0answers
194 views

Robocopy (without /l flag) running for hours making log file huge, but not actually copying anything

Here's my command: Robocopy C: C:\C_root /FP /BYTES /TEE /S /E /COPYALL /DCOPY:T /MOVE /Z /ETA /XJ /R:2 /W:30 /XF pagefile.sys /XD /LOG:C:\robocopy.log. BTW, notice the /XD option above. ...
1
vote
1answer
422 views

RoboCopy Log File Analysis

Is it possible to analyse the log text file outputted from RoboCopy and extract the lines which are defined as "New Dir" and "Extra Dir"? I would like the line from the log contain all the details ...