[dba-Tech] Command line: move

Mark Breen marklbreen at gmail.com
Tue Apr 12 05:10:19 CDT 2011


Hello Jim,

>>I would tend to do the move in two steps:

So would I,

Actually, I would xcopy it first, then I would xcopy a second version to a
USB stick,

then before I delete the files, I would consider that I what I really need
is version control for my files.

Then I would download and install  Mercurial and install it and get it
working.

Then... I would start to consider that what I really, really should do is
have an off - site version of Mercurial , so that my versions are safe in
case of fire, flood or burglary.

Once I have gone this far, and start to think of all the stuff I want
off-site and backed up (350 GB or so), I realise that what I really is an
Amazon S3 solution for Mercurial.

About that time, my wife will call me for dinner and I will make a brief
note "Move Files"

Thats my world anyway :)

Mark




On 11 April 2011 21:09, Jim Lawrence <accessd at shaw.ca> wrote:

> I would tend to do the move in two steps:
>
> First copy the contents to the other drive:
> Xcopy c:\source e:\source /s /v
>
> ...and then remove the source location once the copy has been completed and
> validated.
>
> Del c:\source /s
>
> HTH
> Jim
>
>
>
> -----Original Message-----
> From: dba-tech-bounces at databaseadvisors.com
> [mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of John Bartow
> Sent: Monday, April 11, 2011 12:36 PM
> To: DBA-Tech
> Subject: [dba-Tech] Command line: move
>
> Hi all,
> I recall that some of you use the windows command line quite a bit yet.
>
> Can someone tell me what the command line would be to move all folders and
> files contained in a specific folder to another drive?
>
> It's Something I want to do it a batch files and schedule for archiving
> purposes.
>
> TIA John B.
>
> _______________________________________________
> 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