Questions tagged [robocopy]

Robocopy is a command line file copy utility for Windows-based operating systems.

Robocopy is a Microsoft command line file copy utility that is built into Windows Server versions 2008 R2 and newer. Examples of basic functionality include directory mirroring, copying files over a network, restartable copy and multiple exclusion/inclusion flags.

276 questions
0
votes
0 answers

How to merge two data sources with slightly different folder names

How can I copy all .msg files that are spread throughout some GUID sub-folders in one folder to another folder that has a slightly different folder name at the end. Is it possible? So for example: Source c:\Folder A\16-1167 Contoso 1 Hacker…
Damian
  • 1
0
votes
2 answers

How to copy with robocopy the time attributes without re-copying the files

I transferred the files to a new disk but found that files with the wrong year (1980) and these files I can't open with Photoshop. I would like to copy the time attributes from the first drive to the second without re-copying files. A large amount…
kiloponge
  • 1
  • 1
0
votes
1 answer

copying many folders with not inherited permissions

So we have this folder with hundreds of user folders (not sure what they are used for but there is mostly Desktop, Documents and Favorites). We need to back them up to another disk, but the problem is that the ACL is not inheriting from above folder…
Vitas
  • 147
  • 1
  • 9
  • 26
0
votes
0 answers

append date and time before each line in a text log file in windows 10

I want to append date and time before each line in a text log file in windows I run iperf command in cmd in windows 10. iperf.exe -c192.168.5.199 -u -t4 -i1 -f Kbytes -w1024k -b1024k >> client-log.txt C:\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf.exe…
0
votes
2 answers

Windows - robocopy kill server service and server stop respond to smb - how to real time sync folders over lan without samba?

I have nightmare in company. New server 2019 with all patches. I use Robocopy to sync files to backup server. Robocopy kill smb "server service" several times per day, no any event log. Windows 10 clients cant access shares. Only solution is to…
foler
  • 1
0
votes
1 answer

robocopy doesn't remove attributes from copied folders

I try to use robocopy to copy all userdata from : "C:\Users" Command: robocopy /b /e /xjd /sl /a-:RSH /r:1 "C:\Users" "E:\backup" In the User directories are hidden folders. The parameter /A-:RSH should remove those attributes: /a-:[RASHCNET] ---…
int3g3r
  • 1
  • 2
0
votes
1 answer

parallel instances of Robocopy not getting CPU time

I'm trying to copy large directories from 3 sites. I noticed that robocopy was using < 25% of my CPU, I figured I can spawn 2 more instances in parallel to copy the other 2 sites. However, I am finding that it seems that the first instance is…
Ching Liu
  • 101
0
votes
2 answers

Robocopy mirroring only based on filename

I would like to mirror a shared drive directory to a Sharepoint library. It seems that Robocopy copy each time every file. My command line is Robocopy "source" "dest" /MIR /FFT /Z /XA:H /W:5 I will never have a different file in the source with…
-1
votes
2 answers

How to copy user permissions in Windows server 2012 r2?

I have windows server 2012 r2 and two storage drive. lest say A and B. I have created users and given files and folder access in drive A but now it is crashed and now I want to give all the same user permission in Drive B. I have same folders in…
-1
votes
1 answer

Robocopy - Copy a single file from a directory and overwrite a file in a destination directory if its newer

All, I've come across an issue with deploying a time sheet to users. I've researched robocopy a little bit and think it might be a solution. I need to overwrite a copy of the time sheet located on the public desktop of each user every time I make…
user3487671
  • 1
  • 1
  • 1
-1
votes
1 answer

robocopy to new server and new domain

First question here so I thank you in advance for any input. Simple situation but a little different from the usual ones, so I want to confirm before proceeding. Small office with less than 10 users. Partnership ending but both are keeping the D…
-1
votes
1 answer

batch file command to continue execution after calling a powershell script which is located outside

Need one command, let me explain my query. I am running a robocopy command using the .bat file robocopy c:\Testing d:\Testing After above command, I am calling powershell script by using below command. powershell.exe -noexit -file…
-1
votes
1 answer

Mounted VHD gives access denied during file copy

I want to copy files from VM to another. I'm running windows 2008 on the VM Manager. Both machines are Server 2012. I tuned them both off. Mounted the VHDs to the manger pc. I can see the both files and folders, but cannot copy. I want to move files…
wlraider70
  • 133
  • 7
-1
votes
1 answer

Robocopy logon script - copy all files, except 1, unless it doesnt exist

Currently have a GPO that calls a batch file at logon, that copyies files from one folder to another: Robocopy "C:\logon" "X:\user1" /mir /r:1 w:1 Exit This overwrites all the files in the destination, which is what I want, but I need to exclude…
soMuch2Learn
  • 333
  • 1
  • 6
  • 16
-1
votes
1 answer

robocopy cannot find path

i have batch script like bellow: SET SOURCE=F:\Diff\For_VOYAGE\models.pck.files\models\players SET DESTINATION=F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players SET LOG=LOG.txt robocopy %SOURCE%\装备\女\印度舞娘时装上衣 %DESTINATION%\装备\女\印度舞娘时装上衣 /E…
hrace009
  • 1
  • 3
1 2 3
18
19