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

learn more… | top users | synonyms

0
votes
0answers
15 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
56 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
57 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
19 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
0answers
33 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
27 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
56 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
101 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
239 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
45 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
147 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
39 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
94 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
21 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
161 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
82 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 sub folder in each destination folder and place files ...
1
vote
0answers
76 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
0answers
61 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
31 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
23 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
39 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
260 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
38 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 ...
1
vote
1answer
200 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
127 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
37 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
222 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
53 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
640 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
104 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
184 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 ...
0
votes
2answers
159 views

Robocopy mirror erasing files from excluded directory

I'm using robocopy (v 5.1.10.1027) to transfer files to my dev server through a network share. I'm using the /MIR option to make sure extra files get removed in case I rename something. There are ...
0
votes
1answer
83 views

RoboCopy and length of file paths

I'm using RoboCopy to back up between two hard drives. I have noticed that the log is highlighting files that its copied to the destination folder even though they haven't changed since the last back ...
0
votes
0answers
464 views

How to use Robocopy in true restartable mode

I am currently using the /Z flag in a Windows Robocopy command with the intention of creating a "restartable" copy job. However, when the copy command is re-executed after an interruption, the copy ...
2
votes
1answer
2k views

Why can't a Task Scheduler job access a mapped network drive?

I have a Task Scheduler job to run Robocopy for backing up local files to a network share. I have to use domain credentials to access the network share but the local computer is not on the domain, and ...
0
votes
2answers
488 views

Copy Files from One Drive to Another and Keep Hard-Link in Windows

I have drive A: with 16G Space and plenty of files, due to the Hard-link feature in NTFS, the files together is 15G but only takes 2G of real space. I like to copy all those files to drive B: which ...
0
votes
1answer
49 views

Robocopy errors when running Jenkins script

I've tried to follow other SU links Getting robocopy to return a proper exit code and I've have this step in Jenkins (robocopy d:\vol\CruiseControl.NET\Websitecode\%SITENAME%" ...
-4
votes
1answer
365 views

Robocopy 1326 Error

How to fix Robocopy Error 1326? Unknown username and bad password? I'm trying to back up the files in the workstations without a domain, to put into a file server that is a member of a domain. Any ...
0
votes
1answer
291 views

Robocopy causing network disconnects

PROBLEM: I am trying to copy a large folder (my music) from my Windows 7 machine to a Windows 8 machine via a LAN. Inevitably, once robocopy is run, the state of the network will start fluctuating ...
0
votes
2answers
190 views

Copy all files, skip those already existing, and delete those in destination not in source

I imagine this could be done with Robocopy - I want to copy my music library from its folder on my PC to my mp3 player. I have ~5000 songs, and I'll probably run the copy every time I add an album. ...
2
votes
1answer
75 views

How can I clone a directory structure with symbolic links (in-tact, also duplicated)?

We use Kiln for our source control; and back it up by copying the KilnRepositories folder to another (local) drive while the services are all stopped, and then on to a network drive afterwards (the ...
0
votes
1answer
157 views

Robocopy copying unchanged files to other server

I have a problem with a robocopy script that is supposed to mirror a directory including the NTFS ACL from one server to another server. It seems that even though no files have changed, the complete ...
1
vote
0answers
217 views

Permissions issue migrating data across domains

I have 2 domains, lets call them "OLDDomain" and "NEWDomain". The previous admin "migrated" the users from OLDDomain to NEWDomain by painstakingly going through active directory user by user. Then ...
0
votes
0answers
49 views

Are files that are being copied across and written to disk locked on Windows?

Assuming I am using the native mode of copying files via copy and paste on a given Windows device, are files that are being written to a given path locked until it has completely written the entire ...
1
vote
1answer
2k views

robocopy with DCOPY:T does not work

I am using Windows 7. The robocopy switch DCOPY:T can be used (I mean there is no parameter error) in the command robocopy C:\TEST F:\test /E /MIR /COPYALL /DCOPY:T However, folder timestamps are ...
0
votes
0answers
127 views

Copy in use files with security Permissions

Is there a free Windows utility that will let me copy folders and sub folder contents with their NTFS security permissions and let me copy in use files?
0
votes
1answer
4k views

Robocopy: show skipped files and files with an error while copying

I'm using the following command for copying files while preserving timestamps: robocopy [source] [destination] /E /ZB /COPY:DAT /DCOPY:T /R:1 /W:5 /V /NFL /NDL /NS /NC /NP /log:"[log-path]" /XD ...
0
votes
0answers
923 views

why does robocopy say this file is older?

why does robocopy say this file is older? Robocopy shows (I think I used /MIR and /L) 2 M:\bk\laptopcopy\pics\ Older 79248 regular-expressions-cheat-sheet-v2.png ...
0
votes
0answers
71 views

RoboCopy sees two files as changed when they are exactly the same

Using RoboCopy I am copying large sets of files between storage devices and have noticed some strange behavior: On many occasions where the source and destination file are the same, RoboCopy sees the ...
0
votes
0answers
140 views

Does robocopy mir switch, on a single file, only add the changed parts to destination file or makes a full copy?

The headline says it all I hope but just in case I'll ellaborate. File A is a word file with 50 pages, it's size is 47 kb. File A is copied from source folder to destination folder. File A is then ...