PC Review


Reply
Thread Tools Rate Thread

Copying updated files

 
 
JDGuin
Guest
Posts: n/a
 
      23rd Dec 2009
I keep two copies of my files at work, each on their own drive. At the end of
the day, I want to copy from one drive to the other (1) all the files that
have been created and updated, as well as (2) any NEW directories and
subdirectories that have been created. (You would think that negating /-T
would work, but it doesn't.) It would also be nice if it would (3) delete
subdirectories I've deleted, but I don't want to ask for the moon.

You would think XCOPY would have a switch to do this, but if so I haven't
been able to puzzle it out. It dances all around it, but doesn't make one -
or a combination - to do specifically that. No matter what I try, if I copy a
file from one subdirectory (folder) to another, a new folder - with the exact
same name, which I didn't think was possible - is created, with the file
inside.

Is there any way to use XCOPY to update my second drive with all changes
made to the first, including new directories, but ONLY new directories? If
not, can anyone suggest a way to do this, preferably without messing about
with the registry? Thanks.
 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a
 
      23rd Dec 2009


"JDGuin" <(E-Mail Removed)> said this in news item
news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
> I keep two copies of my files at work, each on their own drive. At the end
> of
> the day, I want to copy from one drive to the other (1) all the files that
> have been created and updated, as well as (2) any NEW directories and
> subdirectories that have been created. (You would think that negating /-T
> would work, but it doesn't.) It would also be nice if it would (3) delete
> subdirectories I've deleted, but I don't want to ask for the moon.
>
> You would think XCOPY would have a switch to do this, but if so I haven't
> been able to puzzle it out. It dances all around it, but doesn't make
> one -
> or a combination - to do specifically that. No matter what I try, if I
> copy a
> file from one subdirectory (folder) to another, a new folder - with the
> exact
> same name, which I didn't think was possible - is created, with the file
> inside.
>
> Is there any way to use XCOPY to update my second drive with all changes
> made to the first, including new directories, but ONLY new directories? If
> not, can anyone suggest a way to do this, preferably without messing about
> with the registry? Thanks.


Hacking the registry is definitely not the answer. On the other hand I am
not sure that I completely understand what you're trying to achieve. A
couple of examples might clarify the issue - one example showing what you
*do* want to copy, the other with what you *do not* want to copy.

 
Reply With Quote
 
JDGuin
Guest
Posts: n/a
 
      23rd Dec 2009
OK.

Say, at the beginning of my workday, both Drives are the same: they both two
folders, Folder 1 & Folder 2. Folder 1 contains two files, File 1 and File 2,
and Folder 2 contains one file, File 3.

During the day, File 1 is changed, File 2 is not changed, File 3 is deleted,
and Folder 3 is created and contains File 4.

I need to make Disk B match Disk A. And if there are any subfolders, I need
them to be handled similarly. I need to do this without duplicating folders,
which XCOPY does. For example, if I tell XCOPY to copy only files created
today from a given folder on Disk A, it filters the files all right, but
instead of understanding the existing directory structure and noticing that
the destination folder already exists, it creates another folder with the
same name.

It seems a simple enough concept. Disk A & Disk B are identical at the
beginning of the day. During the day, Disk A is changed. Before I leave work,
I want to make Disk B identical again to Disk A. I want a command to change
Disk B -- to copy changed files, copy new files, delete deleted files, create
new folders and subfolders and delete folders and subfolders I deleted during
the day, along with any files they contain.

Copying one disk to another is time-consuming when the disks contain a large
quantity of information; and copying individual files and folders is
cumbersome if many changes have been made.

Do you know how this can be done?



"Pegasus [MVP]" wrote:

>
>
> "JDGuin" <(E-Mail Removed)> said this in news item
> news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
> > I keep two copies of my files at work, each on their own drive. At the end
> > of
> > the day, I want to copy from one drive to the other (1) all the files that
> > have been created and updated, as well as (2) any NEW directories and
> > subdirectories that have been created. (You would think that negating /-T
> > would work, but it doesn't.) It would also be nice if it would (3) delete
> > subdirectories I've deleted, but I don't want to ask for the moon.
> >
> > You would think XCOPY would have a switch to do this, but if so I haven't
> > been able to puzzle it out. It dances all around it, but doesn't make
> > one -
> > or a combination - to do specifically that. No matter what I try, if I
> > copy a
> > file from one subdirectory (folder) to another, a new folder - with the
> > exact
> > same name, which I didn't think was possible - is created, with the file
> > inside.
> >
> > Is there any way to use XCOPY to update my second drive with all changes
> > made to the first, including new directories, but ONLY new directories? If
> > not, can anyone suggest a way to do this, preferably without messing about
> > with the registry? Thanks.

>
> Hacking the registry is definitely not the answer. On the other hand I am
> not sure that I completely understand what you're trying to achieve. A
> couple of examples might clarify the issue - one example showing what you
> *do* want to copy, the other with what you *do not* want to copy.
>
> .
>

 
Reply With Quote
 
Pegasus [MVP]
Guest
Posts: n/a
 
      23rd Dec 2009
I keep tripping over your statement "noticing that the destination folder
already exists, xcopy creates another folder with the same name". This, as
I'm sure you're aware, is impossible: You cannot have two folders of the
same name on the same drive. In other words, if the folder

Q:\Data\Folder1

exists then it is impossible to create a further folder of the name

Q:\Data\Folder1

Anyway, if you wish to synchronise folders then robocopy.exe /purge may be
your answer. You can get it from here:
http://www.microsoft.com/downloads/d...displaylang=en


"JDGuin" <(E-Mail Removed)> said this in news item
news:AFABFE73-3DAA-4047-A977-(E-Mail Removed)...
> OK.
>
> Say, at the beginning of my workday, both Drives are the same: they both
> two
> folders, Folder 1 & Folder 2. Folder 1 contains two files, File 1 and File
> 2,
> and Folder 2 contains one file, File 3.
>
> During the day, File 1 is changed, File 2 is not changed, File 3 is
> deleted,
> and Folder 3 is created and contains File 4.
>
> I need to make Disk B match Disk A. And if there are any subfolders, I
> need
> them to be handled similarly. I need to do this without duplicating
> folders,
> which XCOPY does. For example, if I tell XCOPY to copy only files created
> today from a given folder on Disk A, it filters the files all right, but
> instead of understanding the existing directory structure and noticing
> that
> the destination folder already exists, it creates another folder with the
> same name.
>
> It seems a simple enough concept. Disk A & Disk B are identical at the
> beginning of the day. During the day, Disk A is changed. Before I leave
> work,
> I want to make Disk B identical again to Disk A. I want a command to
> change
> Disk B -- to copy changed files, copy new files, delete deleted files,
> create
> new folders and subfolders and delete folders and subfolders I deleted
> during
> the day, along with any files they contain.
>
> Copying one disk to another is time-consuming when the disks contain a
> large
> quantity of information; and copying individual files and folders is
> cumbersome if many changes have been made.
>
> Do you know how this can be done?
>
>
>
> "Pegasus [MVP]" wrote:
>
>>
>>
>> "JDGuin" <(E-Mail Removed)> said this in news item
>> news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
>> > I keep two copies of my files at work, each on their own drive. At the
>> > end
>> > of
>> > the day, I want to copy from one drive to the other (1) all the files
>> > that
>> > have been created and updated, as well as (2) any NEW directories and
>> > subdirectories that have been created. (You would think that negating
>> > /-T
>> > would work, but it doesn't.) It would also be nice if it would (3)
>> > delete
>> > subdirectories I've deleted, but I don't want to ask for the moon.
>> >
>> > You would think XCOPY would have a switch to do this, but if so I
>> > haven't
>> > been able to puzzle it out. It dances all around it, but doesn't make
>> > one -
>> > or a combination - to do specifically that. No matter what I try, if I
>> > copy a
>> > file from one subdirectory (folder) to another, a new folder - with the
>> > exact
>> > same name, which I didn't think was possible - is created, with the
>> > file
>> > inside.
>> >
>> > Is there any way to use XCOPY to update my second drive with all
>> > changes
>> > made to the first, including new directories, but ONLY new directories?
>> > If
>> > not, can anyone suggest a way to do this, preferably without messing
>> > about
>> > with the registry? Thanks.

>>
>> Hacking the registry is definitely not the answer. On the other hand I am
>> not sure that I completely understand what you're trying to achieve. A
>> couple of examples might clarify the issue - one example showing what you
>> *do* want to copy, the other with what you *do not* want to copy.
>>
>> .
>>

 
Reply With Quote
 
dadiOH
Guest
Posts: n/a
 
      23rd Dec 2009
JDGuin wrote:
> I keep two copies of my files at work, each on their own drive. At
> the end of the day, I want to copy from one drive to the other (1)
> all the files that have been created and updated, as well as (2) any
> NEW directories and subdirectories that have been created. (You would
> think that negating /-T would work, but it doesn't.) It would also be
> nice if it would (3) delete subdirectories I've deleted, but I don't
> want to ask for the moon.
>
> You would think XCOPY would have a switch to do this, but if so I
> haven't been able to puzzle it out. It dances all around it, but
> doesn't make one - or a combination - to do specifically that. No
> matter what I try, if I copy a file from one subdirectory (folder) to
> another, a new folder - with the exact same name, which I didn't
> think was possible - is created, with the file inside.
>
> Is there any way to use XCOPY to update my second drive with all
> changes made to the first, including new directories, but ONLY new
> directories? If not, can anyone suggest a way to do this, preferably
> without messing about with the registry? Thanks.


Karen's Replicator
http://www.karenware.com/powertools/ptreplicator.asp

--

dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico



 
Reply With Quote
 
JDGuin
Guest
Posts: n/a
 
      23rd Dec 2009
Thanks for the suggestion. From the description, the program looked like it
might do what I need done. However, when I downloaded it, it wouldn't intall.


"Here Today" wrote:

> It sounds like you want to syncronize two drives\folders. Google Microsoft
> synctoy
>
> Gene
>
>
> "JDGuin" <(E-Mail Removed)> wrote in message
> news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
> >I keep two copies of my files at work, each on their own drive. At the end
> >of
> > the day, I want to copy from one drive to the other (1) all the files that
> > have been created and updated, as well as (2) any NEW directories and
> > subdirectories that have been created. (You would think that negating /-T
> > would work, but it doesn't.) It would also be nice if it would (3) delete
> > subdirectories I've deleted, but I don't want to ask for the moon.
> >
> > You would think XCOPY would have a switch to do this, but if so I haven't
> > been able to puzzle it out. It dances all around it, but doesn't make
> > one -
> > or a combination - to do specifically that. No matter what I try, if I
> > copy a
> > file from one subdirectory (folder) to another, a new folder - with the
> > exact
> > same name, which I didn't think was possible - is created, with the file
> > inside.
> >
> > Is there any way to use XCOPY to update my second drive with all changes
> > made to the first, including new directories, but ONLY new directories? If
> > not, can anyone suggest a way to do this, preferably without messing about
> > with the registry? Thanks.

>
>
> .
>

 
Reply With Quote
 
JDGuin
Guest
Posts: n/a
 
      23rd Dec 2009
I assure you, it happened. I was surprised.

I just tried to reproduce the effect, and for some reason this time it
worked like it was supposed to. This is like when you car has a problem, you
take it to the mechanic, and everything works fine.

It may be impossible, but it happened anyway. I know. I saw it.

Now that I got it to work, perhaps my problem is solved. On the other hand,
it may act up again. If it does, I'll come back and tell you about it.

Thanks for your kind attention.

"Pegasus [MVP]" wrote:

> I keep tripping over your statement "noticing that the destination folder
> already exists, xcopy creates another folder with the same name". This, as
> I'm sure you're aware, is impossible: You cannot have two folders of the
> same name on the same drive. In other words, if the folder
>
> Q:\Data\Folder1
>
> exists then it is impossible to create a further folder of the name
>
> Q:\Data\Folder1
>
> Anyway, if you wish to synchronise folders then robocopy.exe /purge may be
> your answer. You can get it from here:
> http://www.microsoft.com/downloads/d...displaylang=en
>
>
> "JDGuin" <(E-Mail Removed)> said this in news item
> news:AFABFE73-3DAA-4047-A977-(E-Mail Removed)...
> > OK.
> >
> > Say, at the beginning of my workday, both Drives are the same: they both
> > two
> > folders, Folder 1 & Folder 2. Folder 1 contains two files, File 1 and File
> > 2,
> > and Folder 2 contains one file, File 3.
> >
> > During the day, File 1 is changed, File 2 is not changed, File 3 is
> > deleted,
> > and Folder 3 is created and contains File 4.
> >
> > I need to make Disk B match Disk A. And if there are any subfolders, I
> > need
> > them to be handled similarly. I need to do this without duplicating
> > folders,
> > which XCOPY does. For example, if I tell XCOPY to copy only files created
> > today from a given folder on Disk A, it filters the files all right, but
> > instead of understanding the existing directory structure and noticing
> > that
> > the destination folder already exists, it creates another folder with the
> > same name.
> >
> > It seems a simple enough concept. Disk A & Disk B are identical at the
> > beginning of the day. During the day, Disk A is changed. Before I leave
> > work,
> > I want to make Disk B identical again to Disk A. I want a command to
> > change
> > Disk B -- to copy changed files, copy new files, delete deleted files,
> > create
> > new folders and subfolders and delete folders and subfolders I deleted
> > during
> > the day, along with any files they contain.
> >
> > Copying one disk to another is time-consuming when the disks contain a
> > large
> > quantity of information; and copying individual files and folders is
> > cumbersome if many changes have been made.
> >
> > Do you know how this can be done?
> >
> >
> >
> > "Pegasus [MVP]" wrote:
> >
> >>
> >>
> >> "JDGuin" <(E-Mail Removed)> said this in news item
> >> news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
> >> > I keep two copies of my files at work, each on their own drive. At the
> >> > end
> >> > of
> >> > the day, I want to copy from one drive to the other (1) all the files
> >> > that
> >> > have been created and updated, as well as (2) any NEW directories and
> >> > subdirectories that have been created. (You would think that negating
> >> > /-T
> >> > would work, but it doesn't.) It would also be nice if it would (3)
> >> > delete
> >> > subdirectories I've deleted, but I don't want to ask for the moon.
> >> >
> >> > You would think XCOPY would have a switch to do this, but if so I
> >> > haven't
> >> > been able to puzzle it out. It dances all around it, but doesn't make
> >> > one -
> >> > or a combination - to do specifically that. No matter what I try, if I
> >> > copy a
> >> > file from one subdirectory (folder) to another, a new folder - with the
> >> > exact
> >> > same name, which I didn't think was possible - is created, with the
> >> > file
> >> > inside.
> >> >
> >> > Is there any way to use XCOPY to update my second drive with all
> >> > changes
> >> > made to the first, including new directories, but ONLY new directories?
> >> > If
> >> > not, can anyone suggest a way to do this, preferably without messing
> >> > about
> >> > with the registry? Thanks.
> >>
> >> Hacking the registry is definitely not the answer. On the other hand I am
> >> not sure that I completely understand what you're trying to achieve. A
> >> couple of examples might clarify the issue - one example showing what you
> >> *do* want to copy, the other with what you *do not* want to copy.
> >>
> >> .
> >>

> .
>

 
Reply With Quote
 
Pegasus [MVP]
Guest
Posts: n/a
 
      23rd Dec 2009
Next time you think you see two directories of the same name, nail down the
evidence like so:
- Open a Command Prompt.
- Type the following commands:
dir "Q:\My Files" > c:\dir.txt
notepad c:\dir.txt

Replace Q:\My Files with the actual name of the folder that you believe
holds two subfolders with identical names. When finished, post the contents
of c:\dir.txt. Note also that the following two folder names are *not* the
same:

Q:\My Files\Budget 2009
Q:\My Files\Budget 2009

Note also that one can add a hidden space ($FF) to the end of a file name.
This could give the appearance of identical names even though they are quite
different. The method I showed you further up would reveal this too.


"JDGuin" <(E-Mail Removed)> said this in news item
news:BA9620F0-F3D9-4E1E-AB2C-(E-Mail Removed)...
> I assure you, it happened. I was surprised.
>
> I just tried to reproduce the effect, and for some reason this time it
> worked like it was supposed to. This is like when you car has a problem,
> you
> take it to the mechanic, and everything works fine.
>
> It may be impossible, but it happened anyway. I know. I saw it.
>
> Now that I got it to work, perhaps my problem is solved. On the other
> hand,
> it may act up again. If it does, I'll come back and tell you about it.
>
> Thanks for your kind attention.
>
> "Pegasus [MVP]" wrote:
>
>> I keep tripping over your statement "noticing that the destination folder
>> already exists, xcopy creates another folder with the same name". This,
>> as
>> I'm sure you're aware, is impossible: You cannot have two folders of the
>> same name on the same drive. In other words, if the folder
>>
>> Q:\Data\Folder1
>>
>> exists then it is impossible to create a further folder of the name
>>
>> Q:\Data\Folder1
>>
>> Anyway, if you wish to synchronise folders then robocopy.exe /purge may
>> be
>> your answer. You can get it from here:
>> http://www.microsoft.com/downloads/d...displaylang=en
>>
>>
>> "JDGuin" <(E-Mail Removed)> said this in news item
>> news:AFABFE73-3DAA-4047-A977-(E-Mail Removed)...
>> > OK.
>> >
>> > Say, at the beginning of my workday, both Drives are the same: they
>> > both
>> > two
>> > folders, Folder 1 & Folder 2. Folder 1 contains two files, File 1 and
>> > File
>> > 2,
>> > and Folder 2 contains one file, File 3.
>> >
>> > During the day, File 1 is changed, File 2 is not changed, File 3 is
>> > deleted,
>> > and Folder 3 is created and contains File 4.
>> >
>> > I need to make Disk B match Disk A. And if there are any subfolders, I
>> > need
>> > them to be handled similarly. I need to do this without duplicating
>> > folders,
>> > which XCOPY does. For example, if I tell XCOPY to copy only files
>> > created
>> > today from a given folder on Disk A, it filters the files all right,
>> > but
>> > instead of understanding the existing directory structure and noticing
>> > that
>> > the destination folder already exists, it creates another folder with
>> > the
>> > same name.
>> >
>> > It seems a simple enough concept. Disk A & Disk B are identical at the
>> > beginning of the day. During the day, Disk A is changed. Before I leave
>> > work,
>> > I want to make Disk B identical again to Disk A. I want a command to
>> > change
>> > Disk B -- to copy changed files, copy new files, delete deleted files,
>> > create
>> > new folders and subfolders and delete folders and subfolders I deleted
>> > during
>> > the day, along with any files they contain.
>> >
>> > Copying one disk to another is time-consuming when the disks contain a
>> > large
>> > quantity of information; and copying individual files and folders is
>> > cumbersome if many changes have been made.
>> >
>> > Do you know how this can be done?
>> >
>> >
>> >
>> > "Pegasus [MVP]" wrote:
>> >
>> >>
>> >>
>> >> "JDGuin" <(E-Mail Removed)> said this in news item
>> >> news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
>> >> > I keep two copies of my files at work, each on their own drive. At
>> >> > the
>> >> > end
>> >> > of
>> >> > the day, I want to copy from one drive to the other (1) all the
>> >> > files
>> >> > that
>> >> > have been created and updated, as well as (2) any NEW directories
>> >> > and
>> >> > subdirectories that have been created. (You would think that
>> >> > negating
>> >> > /-T
>> >> > would work, but it doesn't.) It would also be nice if it would (3)
>> >> > delete
>> >> > subdirectories I've deleted, but I don't want to ask for the moon.
>> >> >
>> >> > You would think XCOPY would have a switch to do this, but if so I
>> >> > haven't
>> >> > been able to puzzle it out. It dances all around it, but doesn't
>> >> > make
>> >> > one -
>> >> > or a combination - to do specifically that. No matter what I try, if
>> >> > I
>> >> > copy a
>> >> > file from one subdirectory (folder) to another, a new folder - with
>> >> > the
>> >> > exact
>> >> > same name, which I didn't think was possible - is created, with the
>> >> > file
>> >> > inside.
>> >> >
>> >> > Is there any way to use XCOPY to update my second drive with all
>> >> > changes
>> >> > made to the first, including new directories, but ONLY new
>> >> > directories?
>> >> > If
>> >> > not, can anyone suggest a way to do this, preferably without messing
>> >> > about
>> >> > with the registry? Thanks.
>> >>
>> >> Hacking the registry is definitely not the answer. On the other hand I
>> >> am
>> >> not sure that I completely understand what you're trying to achieve. A
>> >> couple of examples might clarify the issue - one example showing what
>> >> you
>> >> *do* want to copy, the other with what you *do not* want to copy.
>> >>
>> >> .
>> >>

>> .
>>

 
Reply With Quote
 
Jim
Guest
Posts: n/a
 
      24th Dec 2009

Go to where d/l`d , right click , properties , click unblock , apply ,
ok ,install ?






On Wed, 23 Dec 2009 14:42:10 -0800, JDGuin
<(E-Mail Removed)> wrote:

>Thanks for the suggestion. From the description, the program looked like it
>might do what I need done. However, when I downloaded it, it wouldn't intall.
>
>
>"Here Today" wrote:
>
>> It sounds like you want to syncronize two drives\folders. Google Microsoft
>> synctoy
>>
>> Gene
>>
>>
>> "JDGuin" <(E-Mail Removed)> wrote in message
>> news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
>> >I keep two copies of my files at work, each on their own drive. At the end
>> >of
>> > the day, I want to copy from one drive to the other (1) all the files that
>> > have been created and updated, as well as (2) any NEW directories and
>> > subdirectories that have been created. (You would think that negating /-T
>> > would work, but it doesn't.) It would also be nice if it would (3) delete
>> > subdirectories I've deleted, but I don't want to ask for the moon.
>> >
>> > You would think XCOPY would have a switch to do this, but if so I haven't
>> > been able to puzzle it out. It dances all around it, but doesn't make
>> > one -
>> > or a combination - to do specifically that. No matter what I try, if I
>> > copy a
>> > file from one subdirectory (folder) to another, a new folder - with the
>> > exact
>> > same name, which I didn't think was possible - is created, with the file
>> > inside.
>> >
>> > Is there any way to use XCOPY to update my second drive with all changes
>> > made to the first, including new directories, but ONLY new directories? If
>> > not, can anyone suggest a way to do this, preferably without messing about
>> > with the registry? Thanks.

>>
>>
>> .
>>

 
Reply With Quote
 
Bob I
Guest
Posts: n/a
 
      24th Dec 2009
XCOPY would have to function completely outside the the Windows
operating system for this to occur. This is tantamount to telling the
mechanic that the reason your car is not working properly is because
there are 7 pistons in your engine instead of 6. Because it works
properly when you show him, it is not because the "extra piston" vanished.

JDGuin wrote:
> I assure you, it happened. I was surprised.
>
> I just tried to reproduce the effect, and for some reason this time it
> worked like it was supposed to. This is like when you car has a problem, you
> take it to the mechanic, and everything works fine.
>
> It may be impossible, but it happened anyway. I know. I saw it.
>
> Now that I got it to work, perhaps my problem is solved. On the other hand,
> it may act up again. If it does, I'll come back and tell you about it.
>
> Thanks for your kind attention.
>
> "Pegasus [MVP]" wrote:
>
>
>>I keep tripping over your statement "noticing that the destination folder
>>already exists, xcopy creates another folder with the same name". This, as
>>I'm sure you're aware, is impossible: You cannot have two folders of the
>>same name on the same drive. In other words, if the folder
>>
>>Q:\Data\Folder1
>>
>>exists then it is impossible to create a further folder of the name
>>
>>Q:\Data\Folder1
>>
>>Anyway, if you wish to synchronise folders then robocopy.exe /purge may be
>>your answer. You can get it from here:
>>http://www.microsoft.com/downloads/d...displaylang=en
>>
>>
>>"JDGuin" <(E-Mail Removed)> said this in news item
>>news:AFABFE73-3DAA-4047-A977-(E-Mail Removed)...
>>
>>>OK.
>>>
>>>Say, at the beginning of my workday, both Drives are the same: they both
>>>two
>>>folders, Folder 1 & Folder 2. Folder 1 contains two files, File 1 and File
>>>2,
>>>and Folder 2 contains one file, File 3.
>>>
>>>During the day, File 1 is changed, File 2 is not changed, File 3 is
>>>deleted,
>>>and Folder 3 is created and contains File 4.
>>>
>>>I need to make Disk B match Disk A. And if there are any subfolders, I
>>>need
>>>them to be handled similarly. I need to do this without duplicating
>>>folders,
>>>which XCOPY does. For example, if I tell XCOPY to copy only files created
>>>today from a given folder on Disk A, it filters the files all right, but
>>>instead of understanding the existing directory structure and noticing
>>>that
>>>the destination folder already exists, it creates another folder with the
>>>same name.
>>>
>>>It seems a simple enough concept. Disk A & Disk B are identical at the
>>>beginning of the day. During the day, Disk A is changed. Before I leave
>>>work,
>>>I want to make Disk B identical again to Disk A. I want a command to
>>>change
>>>Disk B -- to copy changed files, copy new files, delete deleted files,
>>>create
>>>new folders and subfolders and delete folders and subfolders I deleted
>>>during
>>>the day, along with any files they contain.
>>>
>>>Copying one disk to another is time-consuming when the disks contain a
>>>large
>>>quantity of information; and copying individual files and folders is
>>>cumbersome if many changes have been made.
>>>
>>>Do you know how this can be done?
>>>
>>>
>>>
>>>"Pegasus [MVP]" wrote:
>>>
>>>
>>>>
>>>>"JDGuin" <(E-Mail Removed)> said this in news item
>>>>news:105F4787-AA9D-4BAB-B442-(E-Mail Removed)...
>>>>
>>>>>I keep two copies of my files at work, each on their own drive. At the
>>>>>end
>>>>>of
>>>>>the day, I want to copy from one drive to the other (1) all the files
>>>>>that
>>>>>have been created and updated, as well as (2) any NEW directories and
>>>>>subdirectories that have been created. (You would think that negating
>>>>>/-T
>>>>>would work, but it doesn't.) It would also be nice if it would (3)
>>>>>delete
>>>>>subdirectories I've deleted, but I don't want to ask for the moon.
>>>>>
>>>>>You would think XCOPY would have a switch to do this, but if so I
>>>>>haven't
>>>>>been able to puzzle it out. It dances all around it, but doesn't make
>>>>>one -
>>>>>or a combination - to do specifically that. No matter what I try, if I
>>>>>copy a
>>>>>file from one subdirectory (folder) to another, a new folder - with the
>>>>>exact
>>>>>same name, which I didn't think was possible - is created, with the
>>>>>file
>>>>>inside.
>>>>>
>>>>>Is there any way to use XCOPY to update my second drive with all
>>>>>changes
>>>>>made to the first, including new directories, but ONLY new directories?
>>>>>If
>>>>>not, can anyone suggest a way to do this, preferably without messing
>>>>>about
>>>>>with the registry? Thanks.
>>>>
>>>>Hacking the registry is definitely not the answer. On the other hand I am
>>>>not sure that I completely understand what you're trying to achieve. A
>>>>couple of examples might clarify the issue - one example showing what you
>>>>*do* want to copy, the other with what you *do not* want to copy.
>>>>
>>>>.
>>>>

>>
>>.
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Basic - copying and keeping data updated =?Utf-8?B?TGluZGE=?= Microsoft Excel Misc 0 14th Oct 2007 06:54 PM
Sql Sevrer not updated after copying DataRows Brandon Olson Microsoft ADO .NET 4 10th Jan 2006 07:16 PM
Chart links not updated when copying two worksheets =?Utf-8?B?REE=?= Microsoft Excel Charting 0 28th Nov 2005 10:24 PM
Online Files not being Updated from Modified Offline Files. Mojoala Windows XP General 0 30th Jun 2004 05:42 PM
File timestamp updated when copying to a CD-RW disk-bad George Marshall Windows XP Help 2 22nd Mar 2004 09:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:29 AM.