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

learn more… | top users | synonyms

0
votes
0answers
163 views

Disk size data is inconsistant (more then i can hold)

I have several disk partitions, i made then each 250gb. I used robocopy to copy one partition to another I got an error the destination disk is out of space. wtf they are the same size. I right ...
1
vote
3answers
4k views

Robocopy launches and then hangs/just sits there

I'm setting up an archive process to store old files on an external hard drive. The computer in question is running Windows 7 Pro 32bit. We have a server folder with 150,000+ files in it, most of ...
2
votes
1answer
2k views

Can Robocopy monitor files on a time incremenet of less than one minute?

Robocopy has the option to monitor the source directory, and copy over any files that have changes. You can specify how many changes in the directory must occur before copying (/mon n where n is the ...
1
vote
0answers
163 views

Robocopy mir deletes files when network goes down?

I've inheritted some server backups and I heard from the person that if the network goes down while robocopy is running it will wipe all the destination folder if /mir is used. He said it is because ...
3
votes
1answer
7k views

Robocopy, how to log only errors?

Will the options /nfl /ndl be enough and not exclude errors too?
0
votes
2answers
972 views

copy works where xcopy and robocopy does not work

Network admin allowed me to read-access only 1 file from a subfolder of a shared folder on a server and I don't have permissions to even view upper level folders, but when I open that folder I can see ...
1
vote
1answer
419 views

Robocopy prepends drive letter on filepaths even when drive is specified

robocopy /"C:\Users\john smith\Documents\Visual Studio 2010\Projects\project\checker\bin\Debug\/" /"C:\Users\john smith\project\Assemblies/" checker.dll When I run this through the command line it ...
18
votes
1answer
56k views

Using robocopy and excluding multiple directories

I'm trying to copy some directories from a server before I restore from backup (my latest backup was corrupt, so I have to use an older one :( ). I'm in the Windows Recovery Environment and have ...
8
votes
3answers
5k views

delete recursive directory created by robocopy when “The file name is too long”

After running robocopy.exe to backup a C:\Users\ folder without using the /xj switch, I ended up with a recursive directory which was too long. For example, if you run dir /b /s you will receive the ...
5
votes
2answers
17k views

How to copy ONLY those files that are not in the destination?

Is it possible to use robocopy to copy only the files that do not exist in destination? robocopy has a /is (include same files) switch. What I am looking for is an /xs switch. If a file exists in ...
2
votes
1answer
172 views

Can I prompt a user to save a file using windows explorer?

I'm trying to build a windows batch file that will copy a folder and all its contents from the local user directory into an individually named folder on a shared server. The name of the folder on the ...
1
vote
1answer
5k views

Enable Robocopy logs

I have a robocopy job that is controlled by Windows Task Scheduler to run every 15 minutes to move files from one server to another. According to Windows Task Scheduler, the job is running fine. ...
0
votes
1answer
702 views

RoboCopy Log Files missing whitespace?

So I'm working on a script to use RoboCopy to copy a bunch of files, and log what it's copied. It works reasonably well, except for the logfiles. They tend to look like this: ...
0
votes
0answers
1k views

using robocopy to mirror folders as a scheduled task without users logged in

I have two servers, one local user with the same password and username. It will always be a one-way transfer serverA --> serverB. I created a scheduled task that runs (on serverB) robocopy ...
1
vote
1answer
536 views

What flags do i use with robocopy on copy with mod date?

I'm on windows 7 and i like to copy a directory from one drive to another. I want it to be as fast as possible and what i need are Modification date plain file (without attributes like permission or ...
2
votes
4answers
9k views

Does Robocopy Keep a Log File by Default?

I copied a huge number of files using Robocopy, and recived a note at the end that two files failed. I didn't set a switch to save a log file. Is there a log file saved in a default location ...
8
votes
2answers
11k views

What is the benefit of copy over xcopy on the command line?

I know that xcopy has more options however is there some benefit to using copy rather than xcopy?
1
vote
5answers
838 views

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

I'm on Windows 7 Professional, and this is my scenario : Folder "Asd" (C:\) Folder "Asd" (D:\) File 1 File 1 File 2 File 3 File 3 ...
4
votes
2answers
7k views

How to use Volume Shadows Copy and Robocopy on Win7?

I’d like to backup my system with Robocopy and Powershell, but Robocopy is not able to copy open files. Volume Shadows Copy seems a solution but I can’t find any clear and simple explanation on how to ...
9
votes
9answers
11k views

Robocopy does not copy the root folder and its time stamp

Robocopy does not copy the root folder and its time stamp - it copies all subdirectories and files (when the appropriate options are set) and there seems to be no option/argument to tell Robocopy you ...
0
votes
2answers
2k views

Which file does robocopy copy first?

In my C# application, I am using robocopy for with option /s for copying sub folders also. Suppose I have files & folders from the last month. Which file will it copy first, the latest one or ...
0
votes
1answer
1k views

getting “Invalid Parameter #10” when attempting to copy folder using robocopy

I'm trying to copy a folder on my internal hard drive to my external hard drive using robocopy with the following command: robocopy "source folder" "destination folder" *.* /E /DCOPY:T /COPYALL ...
2
votes
1answer
226 views

Robocopy on network as part of a pipeline

I have the following pipeline: [other vendor] sends files to my Windows filesystem, which are indexed starting with the next unused number (normally file.001) I move the files with RoboCopy to my ...
2
votes
2answers
221 views

What is the fastest way to mirror a directory tree on a DVD to a local hard disk in Windows 7

Recently I had DVD with a folder that contained over 83,000 files and folders. When I went to mirror this folder onto a local harddrive with ROBOCOPY I quickly discovered that more than an hour had ...
5
votes
2answers
1k views

How to wake a network drive from batch script?

I have a batch script which runs a robocopy. It is failing because the drive is not awake. In windows explorer, doubling clicking on that icon "wakes" up the link and the cross disappears and the ...
1
vote
2answers
1k views

CMD MOVE can't replace directories in WIN 7

The MOVE command does not work when to ovewrite a directory. I have also tryed to run cmd with admin rights. I'm posting this question with more info so you can easily test it self. Make your own ...
1
vote
0answers
155 views

“Access denied” when trying to move a directory in Windows 7 [duplicate]

Possible Duplicate: Access denied, cmd move windows 7 I can't use this command in Windows 7 when I want to move a directory. If the destination exists, it says "Access denied". Why does ...
1
vote
3answers
14k 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
323 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
1k 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
355 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
4k 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 ...
36
votes
2answers
42k 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
6k 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
1k 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
5k 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
3k 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
2k 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 ...
4
votes
2answers
15k 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 ...
41
votes
8answers
25k 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
343 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
296 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
710 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 ...
2
votes
3answers
5k 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
990 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. ...