Solved

Question about robocopy MOVE vs. MOV switches

Posted on 2008-10-24
1
1,811 Views
Last Modified: 2012-05-05
Here is the folder structure in questions:

c:\events\subfolder1
c:\events\subfolder2
c:\events\subfolder3

c:\EventsPre2008

I'm using robocopy to move files from the c:\events folder, and all of its subfolders, that have not been accessed since 1-1-2008 into the c:\EventsPre2008 folder.

Here is the command: robocopy c:\events c:\EventsPre2008 /E /Z /R:0 /MOVE /MINLAD:20080101

I'm concerned about it moving directories too (with the MOVE switch) instead of just moving files (with the MOV switch).

I'm considering using the MOV switch instead of the MOVE switch and here is why: Will it move directories (and then delete them from the source) only if all the files in that directory are moved? My concern is that it might move directories (and delete them from the source) even if only some files from a particular directory are moved. I'm sure I'm missing something here. Thanks!
0
Comment
Question by:WineGeek
1 Comment
 
LVL 63

Accepted Solution

by:
SysExpert earned 500 total points
ID: 22805895
1) make sure you have the latest robocopy version

2)  run some tests and see if it works like you want

unfortunately, all software have bugs, and you need to test it under conditions similar to what real world production will be like to insure that it works like  you think it will.


I hope this helps !
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now