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

learn more… | top users | synonyms

0
votes
3answers
10k views

Access denied, cmd move windows 7

I can't use this command in win 7 when want to move a directory if the destination exists. It says Access denied. Why hapens this? It worked in XP. move /y "%1" c:\mydir\ I can use robocopy, but ...
1
vote
0answers
310 views

Windows Junction / Move File Issues

I am working on a computer where I am moving C:\Users\User to D:\Users\User and I am going to create a junction. All files moved successfully during the move except: My Pictures My Videos ...
1
vote
1answer
962 views

Robocopy ignores /D switch

I am trying to use robocopy to move files from a source directory to a destination directory. The problem is that an inetpub mail process monitors the destination directory, and quickly locks and ...
2
votes
2answers
342 views

Are junctions affected if the drive is formatted?

I was trying to relocate my user profiles, so that they are not affected by any problems occuring in the drive on which the operating system is stored. I've managed to move user profiles using ...
0
votes
1answer
3k views

Only output header and summary with robocopy.exe

I'm using Robocopy and just want it to output the header and summary, hiding everything else. I've looked at the Robocopy syntax and have tried: /NC /NFL /NS /NDL /NP However I'm still getting this: ...
0
votes
1answer
3k views

Robocopy copying files from source to destination in backup mode and with file security permissions intact

I need to utilize robocopy to mirror files and folders from one shared location to another shared location, in restartable backup mode with security permissions. My current command is: robocopy ...
29
votes
3answers
31k views

What does robocopy mean by tweaked, lonely and extra?

The robocopy documentation for the option /it is simply Includes "tweaked" files. What does tweaked mean? The robocopy documentation for the option /xl is simply Excludes "lonely" files and ...
2
votes
4answers
5k views

Copy files from FAT32 to NTFS, preserving date

I have a FAT32 flash drive full of old archived emails, and their creation/modification date is important because it represents when the email was received. I'm trying to copy these over to another ...
3
votes
4answers
893 views

Robocopy and fragmentation

While copying large number of files, it's quite often to use multiple threads with RoboCopy (/MT[:n] option). Can this cause fragmentation on the destination drive? Sometimes I use Beyond compare for ...
1
vote
3answers
4k views

Freebsd (Freenas 8) and robocopy gives Error 5 Time-Stamping Destination File WHy?

I have a NAS running FreeBSD/FreeNas 8.0.4 When I copy files from a windows system to it via SMB/CIFS normally (explorer/copy) it all goes fine. User can create/delete/update files When i attempt ...
4
votes
4answers
2k views

Robocopy unilog output is gibberish

I tried to get robocopy in Windows 7 to generate a Unicode log, since I have files with Unicode characters. The command I used: robocopy C:\mysource D:\mydest /mir /unilog:backup.log /tee File the ...
2
votes
0answers
1k views

command line remove read only flag on all subfolder entries or overwrite read only files with robocopy

I need one of two things to work: I use robocopy to copy all sub-files and sub-folders from one folder to another, and the destination contains older files + files not in the source, and I need the ...
3
votes
2answers
11k views

How to robocopy with progress logged to console only?

I want to run RoboCopy that will update the console with % progress but not clutter the log file with % progress. The following RoboCopy command will perform the desired copy and append logging ...
33
votes
6answers
18k views

Getting ROBOCOPY to return a “proper” exit code?

Is it possible to ask ROBOCOPY to exit with an exit code that indicates success or failure? I am using ROBOCOPY as part of my TeamCity build configurations, and having to add a step to just silence ...
0
votes
2answers
294 views

Which tool to use when making a complete dump of the sysvol in Windows XP

I have tried both robocopy and hobocopy. Robocopy lacks the use av shadow volume copy so it always gets stuck on system files, you need to supply an ever growing list of filenames/directories to ...
0
votes
1answer
289 views

backup file to NAS device

I have a WD Sharespace storage device at home. link I currently backup my live servers files to a PC of mine at home. I do this once daily using RoboCopy and a scheduled task. I use this robocopy ...
3
votes
4answers
2k views

Using Robocopy for file rotation

I am looking for a way to use robocopy to rotate log files. Currently I have a batch file using robocopy to copy files and log the results to a specified folder location. What I would like to do is ...
2
votes
1answer
632 views

robocopy can’t find newly zipped file for copy

I am working with a batch file that is being used to copy files from several remote servers to one central repository using robocopy. I am trying to zip the contents of a folder and then copy it but ...
0
votes
2answers
2k views

robocopy /mir problem

i am using robocopy to take backup from one folder with following syntax robocopy "source" "destination" /mir but the issue i am facing is if file is in destination but not in source, its ...
0
votes
1answer
5k views

How do I use psexec and robocopy together in order to copy a directory over to a remote machine?

Hi I'm trying to form a psexec (or perhaps robocopy?) command which will allow me to use given account credentials to copy a directory over to a remote machine. I'd prefer to use robocopy, but the ...
3
votes
1answer
1k views

Robocopy Mirror Backup gone awry

I have created a simple batch file script for running Robocopy. It is set to make a backup of my user account folder to my external hard drive. Here's the parameters for Robocopy: ROBOCOPY ...
1
vote
3answers
4k views

Mirror/Backup from SSH/SFTP to Windows

What I am trying to do is mirror a directory (recursively) from a server I can SSH/SFTP to, to a Windows machine. I want to do this as part of a script, so it can be automated. I only want to copy ...
2
votes
3answers
848 views

Delete dupe files from source, move only missing across to target in Robocopy

We copied all our files to a new storage server recently. We didn't want to move at the time because we weren't sure if files would get lost. The problem now is that we have files on both places. ...
1
vote
2answers
1k views

Robocopy to a drive connected to a wlan router fails

I have a wireless router and an USB hard drive connected to it. Basic file access on the command line and Explorer works flawlessly after having set up some options on the router and mapping to some ...
1
vote
1answer
4k views

Why does Robocopy work once and then ignore all files the next time?

I used the following command: Robocopy c:\source c:\backup /MIR /XD .svn Then I deleted c:\backup and did it once again. This time it ignored all files and copied nothing. Why is that? How do I ...
-2
votes
3answers
415 views

Problems with Robocopy

How shall I put this... It's like: you can tell robocopy: "move the contents of this map to that map". But you can't say: "move that map to that map, no matter the contents"(to be content of that ...
2
votes
2answers
4k views

How to abort robocopy on first error

When using robocopy windows utility, what flags do I set so that robocopy aborts on the very first error it sees, similar to xcopy /dry command? I need to mirror two dirs, and on occasion some files ...
0
votes
1answer
28k views

Access denied error with robocopy as admin [duplicate]

Possible Duplicate: Robocopy permission denied When trying to run the following command robocopy d:\directory \\server\directory /S /XO /COPY:DT I get an access denied error. I am ...
1
vote
3answers
6k views

Simple robocopy script to backup a harddrive not working

I am trying to run robocopy to backup my whole harddrive This what I have so far robocopy f: G:\Backup\f\ /E /R:2 /ZB /DCOPY:T /SL The problem I have is that I seem to be geting into a loop where ...
3
votes
7answers
3k views

Incremental/Differential Backup on Windows

What's the easiet way to perform an incremental/differential backup to a network share in Windows? Does a Robocopy/Xcopy solution work reasonably well (I need to the parameters!) or is there a good ...
19
votes
2answers
18k views

Linux equivalent to robocopy?

It's kind of funny, there are a lot of ways in which Linux command line tools are vastly superior to Windows ones, but one thing I have not found an equivalent to is robocopy. Robocopy is way more ...
2
votes
4answers
7k views

Robocopy permission denied

Robocopy is preinstalled with Windows 7. I've used it many times in the past. I tried to copy a folder to a remote share with robocopy c:\source "\\server\share\path" /s /r:2 /w:2` As a result I ...