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

learn more… | top users | synonyms

0
votes
0answers
14 views

Robocopy keep directory structure intact but include a large number of files

My question is basically the same as this one except I have a list of 370 files that have to be copied from source to destination. So my initial directory looks like folder1 folder2 folder3 ...
0
votes
3answers
41 views

How does RoboCopy scan folders?

I have inherited a Transfer job at work that is causing me some issues. We are using RoboCopy to transfer files from location to another location. The script does copy the files fine but is set to ...
1
vote
1answer
25 views

Copy specific folders on Windows (robocopy)

I want to do some thing simple (I thought...) I've got something like this: Folder01 |_File1 |_File2 |_File3 Folder02 |_File1 |_File2 |_File3 Folder03 |_File1 |_File2 |_File3 ...
3
votes
0answers
41 views

Robocopied files show in CMD but not in Explorer

I'm helping a friend to setup a back drive on his W7 machine. I installed a new hard drive internally to serve as a backup. I then wrote a simple script.bat that lives in his home folder, to be ...
0
votes
0answers
24 views

Which of these robocopy options caused data loss

I was making one last backup copy of contents of an old hard drive I'm about to repurpose, and ran the following command (in an elevated shell) to try to move old documents: robocopy Documents\ and\ ...
3
votes
1answer
42 views

Use robocopy to mirror source but ignore timestamp

I want to backup a folder to a share on a linux nas with robocopy. I use the commandline robocopy /mir <source> <dest> After a succesfull copy in explorer the timestamps are equal but ...
1
vote
0answers
33 views

Why does robocopy still try to copy Thumbs.db even with XF option?

Using robocopy (version 10.0.10586.0) on Windows 10 to copy files from one drive to another using the following command: ROBOCOPY c:\src D:\dest /MIR /COPY:DT /DCOPY:T /XJ /XF Thumbs.db /XD ...
1
vote
1answer
54 views

Write output of Windows Batch file command to text file?

I want to write the output of a robocopy command into a text file to see which files were copied. I tried robocopy drive:\ destination:\ /e /v>log.txt and robocopy drive:\ destination:\ /e /v ...
1
vote
1answer
63 views

Robocopy replace same date file move

I'm using robocopy to move data. I want to achieve this IF Source File data (Newer or Same) move/overwrite data Else skip file I need a switch or a way to just excluded newer not newer or same ...
3
votes
1answer
24 views

Robocopied Junction not Showing Icon? Robocopied Symbolic Link also Not Showing Icon?

I'm not familiar with how robocopy handles junctions, symbolic links, and hard links. I tried to copy one of each, and I noticed the icon that shows over a junction and symbolic link does not seem to ...
0
votes
1answer
31 views

Copy NTFS MetaData: Good Idea or Bad?

I wanted to "migrate" or "mostly clone" a drive to a new one. So, I robocopied a drive, and discovered that the destination has a few missing MetaData files including files from: ...
0
votes
0answers
22 views

Robocopy - misses files during copying (win7 Pro)

I'm using Robocopy to copy 60GB from one server drive to 2 drives in a dual (Duet) USB docking station. The commands used (both run at the same time) are: robocopy "i:\datax" "f:\datax" /copy:dat /e ...
0
votes
1answer
20 views

Access citrix mapped local drive from scheduled task in Windows

My setup is Linux Mint as host OS, which logs in to a Windows 7 machine using through Citrix. My local (linux) home directory is visible on the Windows system as \\Client\S$ What I want to do is ...
0
votes
1answer
78 views

Backup Files (robocopy) | Error on files in-use

OS: Windows 7 x64 (HomePremium) CMD: >robocopy [source] [destination] -options $ robocopy "C:\Users\itzme\AppData\Roaming\Mozilla\Firefox\Profiles\geo2eich.default" ...
0
votes
0answers
62 views

How to reconnect hard drive without having to reset computer?

So I've recently needed to copy some large folders (35GB+) from my SSD to my 1TB internal storage HDD. I tried to manually copy the files but after some time the copying would just freeze so I did ...
0
votes
2answers
522 views

Robocopy: Log names of skipped/Failed files

I am using the following batch file to run my robocopy command: @ECHO OFF for /f %%a in ('wmic os get LocalDateTime ^| findstr ^[0-9]') do (set ts=%%a) robocopy [source] [target] ...
0
votes
1answer
25 views

Append a string in the log file (.txt) created using robocopy

Currently with this command: robocopy Y:\source X:\target\Test /log:Y:\source\dem.txt /s /njh /njs /nc /np /ns /tee I am able to create a log file (dem.txt) which contains the name of the files ...
0
votes
3answers
103 views

Robocopy: How to copy assets from multiple locations to a single location and maintain a log

I have multiple folders containing assets (each folder has subfolders containing these assets .mp3, .txt, .png, etc). I want to copy all this assets along with the subfolder to a single ...
2
votes
1answer
184 views

How do I create a log of robocopy actions and save in a text file named with today's date?

I am copying some assets from one folder to another using robocopy in command prompt. However, I want to log name of all those copied assets in a .txt file. This .txt file should be saved in the form ...
0
votes
1answer
29 views

Windows 7 thinks every folder is shared

I have a hard drive that I'm moving thousands of folders off, which I would do either using robocopy /mov or windows explorer cut and paste. Robocopy won't move the folders, and explorer prompts me ...
0
votes
1answer
45 views

Copying a subset of a large folder, preferably using robocopy

I want to copy some files from a huge share on a high-latency server. I can do it with multiple robocopy commands: robocopy /MT \\slow\share\path1 c:\my\path1 *.exe robocopy /MT \\slow\share\path2 ...
1
vote
1answer
129 views

Robocopy - NTFS Access is Denied

I am trying to backup a disk from one share to another using robocopy with the following command: robocopy \\servername\E$ \\servername\F$\Copy /E /ZB /copyall /r:5 /w:30 /dcopy:T ...
0
votes
0answers
414 views

What is backup mode in Robocopy

I am trying to copy a large database backup file over network. The traditional program copy or xcopy failed with different binary resulted. Also tried robocopy without parameter, and resulted a ...
0
votes
1answer
82 views

Wildcard in rename and robocopy command into batch file

What I am attempting to do is automate some work I do daily. What I would like to happen is a prompt saying What is your name? Then use that answer as a variable to be used in different commands like ...
0
votes
0answers
126 views

robocopy cannot find the path specified

I wrote a small BATCH-File to sync my PC and Notebook folders for university. REM set tdate=%date: =% REM set tdate=%tdate:/=% REM REM set ttime=%time: =% REM set ttime=%ttime:.=% REM set ...
1
vote
2answers
85 views

Copying files from somewhere within a directory tree to a folder

I have a mirror of a large website that I need to reorganize, most of the images and files I've been able to programmatically move and relink up; however, there are a few (few is a relative term, ...
2
votes
1answer
75 views

Can I use Window's Robocopy to safely backup MySQL tables?

I've got a MySQL database on a server running Windows 7, and I want to create a quick (but safe!) copy without shutting anything down. I issue FLUSH TABLES WITH READ LOCK, run Robocopy, then issue ...
0
votes
0answers
45 views

Fast acces to OneDrive as file system for backups

I was going to use the robocopy utility from Windows 10 to backup some folders to my OneDrive storage as described in this article: ...
1
vote
1answer
120 views

Robocopy - Backup only new files

I have an access to a network drive where news folder are created everyday. This drive is named G: I want to backup all the folders from G:\ to D:\WebUpload Being given that there are a lot of ...
1
vote
1answer
154 views

Powershell script to be called by serveral servers to copy log files to remote location

We have several servers that save log files locally and I'm trying to automate logging to a single network location with a name of the parent folder where log files are stored and date modified time ...
1
vote
0answers
23 views

Robocopy GUI log shows 1 skipped but none were

I copied 145 mb with Robocopy GUI. Source and Destination show exact same properties (# of files, directories, and size). The log file shows 100% at the end of every line. I assume that means ...
1
vote
1answer
286 views

Copy based on last modified date of files

I want to copy from below source dir to the desired destination as shown below. Source dir: --Dummy ----dirA (contain files last modified 2/7/2015) ----dirB (contain files last modified 3/7/2015) ...
2
votes
3answers
765 views

RoboCopy unable to copy between a server on a domain to a computer in a workgroup

I have a RoboCopy problem and here is the scenario. My server is running Windows Server Essentials 2012 R2. My laptop is running Windows 10 Technical Preview. The server is running as a domain ...
1
vote
1answer
875 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
72 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
39 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 ...
0
votes
1answer
62 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
81 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
40 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
578 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
208 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
38 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
2k 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
572 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
155 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
197 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
35 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
232 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 ...