[dba-Tech] Command line: move

John Bartow john at winhaven.net
Thu Apr 14 15:21:16 CDT 2011


Hi Stuart,
I'm testing this out and have found that I need to modify it a bit from your
suggestion in order to have move all subdirectories I had to add  /E switch.
And the /D switch came up invalid. So I'm just guessing it was a typo and
you meant to type /E ;o)

Robocopy "D:\Toolbox" "U:\Toolbox" /MOVE /E /MINAGE:1

Thanks again!

-----Original Message-----
From: dba-tech-bounces at databaseadvisors.com
[mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: Wednesday, April 13, 2011 3:43 PM
To: Discussion of Hardware and Software issues
Subject: Re: [dba-Tech] Command line: move

If you are running Vista, Win7  or Win Server 2008, you could use Robocopy:

Robocopy  "C:\My Files" "E:\My Files_Backup" /MOVE /D /MINAGE:1

Enter "Robocopy /?" at a command prompt for a full list of options.

-- 
Stuart


On 13 Apr 2011 at 15:21, John Bartow wrote:

> Thanks all. If I might bug you one more time - how would I only move
> the files that are older than the present day?
> 
> _______________________________________________
> dba-Tech mailing list
> dba-Tech at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-tech
> Website: http://www.databaseadvisors.com
> 



_______________________________________________
dba-Tech mailing list
dba-Tech at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-tech
Website: http://www.databaseadvisors.com




More information about the dba-Tech mailing list