Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Rotate destination folder with Robocopy

I use this command Robocopy D:\DIR1 E:\DIR2 /MIR to keep the contents of two folders synchronized: How do I keep 5 separate copies of the target folder, while deleting the sixth-oldest one?
Mkgl's user avatar
  • 59
0 votes
2 answers
802 views

Get-ChildItem in Robocopy not working as expected

I'm looking to find all .jpg files in D:\ZZZ_Phone_test and its subdirectories and then have Robocopy to copy those to D:\ZZZ_Phone_test\1\1\BackUp\ (which needs to be excluded because it is within ...
ThomasHunter's user avatar
1 vote
1 answer
2k views

Move only files of a given extension while preserving folder structure

I'm trying to backup all of my programs I've written without any of the other stuff, and their location in the folder structure is important because it helps me know what the program is for. Luckily I ...
Max's user avatar
  • 13
2 votes
1 answer
2k views

What happens when you use Robocopy between two remote computers on your WAN?

Some details: I have a local server at one of the branches of the company I work for that has some pretty bad internet. I am using Robocopy to move some big files to the server once then using it ...
Carlton Gannett's user avatar
8 votes
2 answers
8k views

Windows 7 Delete heavily nested folder structure [duplicate]

I was running a node script that went awry and created a folder structure like so: \myfolder \myfolder \file.txt \myfolder \file.txt \myfolder ...
Aristides's user avatar
  • 195
0 votes
1 answer
761 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 ...
RobN's user avatar
  • 1,692
3 votes
2 answers
473 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 ...
David Lundquist's user avatar
4 votes
4 answers
5k 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 ...
Wduncan's user avatar
  • 96
12 votes
5 answers
111k 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 ...
Edosoft's user avatar
  • 800