How to REPLACE a folder

G

Guest

Is there a (mouse driven) command that allows a folder to replace a previous
version. I have a folder on my hard drive that I want to copy to a
rewriteable CD for backup purposes. I do this nightly for backup purposes and
I want to replace the folder on the CD with an exact replica of that on the
hard drive, while leaving the source on the hard drive.

MOVE will delete the source and COPY doesn't create an exact replica. For
instance if folder A contains files X, Y and Z and I initially copy it to the
CD. I later modify X on the hard drive and delete Y from the hard drive
folder. If I again COPY folder A to the CD, I end up with a folder on the CD
that has modified X, and original Y and Z. However, that is not an exact
copy. I want Y gone, because it is gone from the source folder.

I need some sort of REPLACE command that is accessible by right clicking on
the folder object. It should do a DELETE of the target before COPYing the new
source. I know I can do it with 2 commands (Delete and Copy), but is there
one command that does the combination?
 
G

Guest

I assume you are working with a CD-RW (Rewriteable CD).

Look at this application: http://www.goodsync.com or download microsoft's
SyncToy which does exactly the same thing.

You can setup any of this tools to do the backup for you and it will "sync"
the folder in your hard drive with that of the CD and make all the necesarry
changes.


Let us know.
 
G

Guest

Thanks, I'll check it out. (Yes I was working with a CD-RW using Nero's LN
CD utility to make it act like a floppy)
 
K

Kerry Brown

ladybird said:
Is there a (mouse driven) command that allows a folder to replace a
previous version. I have a folder on my hard drive that I want to
copy to a rewriteable CD for backup purposes. I do this nightly for
backup purposes and I want to replace the folder on the CD with an
exact replica of that on the hard drive, while leaving the source on
the hard drive.

MOVE will delete the source and COPY doesn't create an exact replica.
For instance if folder A contains files X, Y and Z and I initially
copy it to the CD. I later modify X on the hard drive and delete Y
from the hard drive folder. If I again COPY folder A to the CD, I
end up with a folder on the CD that has modified X, and original Y
and Z. However, that is not an exact copy. I want Y gone, because it
is gone from the source folder.

I need some sort of REPLACE command that is accessible by right
clicking on the folder object. It should do a DELETE of the target
before COPYing the new source. I know I can do it with 2 commands
(Delete and Copy), but is there one command that does the combination?

I'm assuming this for some kind of a backup. I have several customers who do
something similar for quick backups. I do it with a batch file that deletes
the files in the target folder then copies the files from the source. I
create a shortcut on the desktop to the batch file. There are a few of
things to be aware of. One - CDRW disks become increasingly unreliable the
more times they are written to. Change your disks often. Two - Make sure you
have another form of backup. (See #1). Three - use multiple CDRW disks and
keep several generations of backups. (See #1) Also you never know when you
may want to recover Y. Having multiple generations allows to go back and
recover Y if needed.
 
G

Guest

Don't use the Copy command, but use the XCopy command for
a true replica.
--
XP - WNP
Today is the first day of the
rest of your life.
If you find this response helpful,
rate it below.
 
K

Kerry Brown

I use xcopy a lot but don't know of any switches to do this. What switches
would you use?
 
G

gls858

Kerry said:
I use xcopy a lot but don't know of any switches to do this. What switches
would you use?

At the command prompt type xcopy /?
This will get you all of the switches available.

gls858
 
K

Kerry Brown

I know the switches for xcopy. I'm waiting for you to tell us which one
deletes files in the target folder that aren't in the source folder.
 
G

gls858

Kerry said:
I know the switches for xcopy. I'm waiting for you to tell us which one
deletes files in the target folder that aren't in the source folder.
I didn't say there was one. I simply said that command would give you
all of the switches available. If none of them do what you require then
I would agree with you.

gls858
 
K

Kerry Brown

In the context of the thread Byte had said that you could use xcopy to make
a "true replica". There are no switches in xcopy to do this that I know of.
I was being sarcastic in my reply to Byte. My apologies if that didn't come
across right.
 
G

gls858

Kerry said:
In the context of the thread Byte had said that you could use xcopy to make
a "true replica". There are no switches in xcopy to do this that I know of.
I was being sarcastic in my reply to Byte. My apologies if that didn't come
across right.
No apology necessary. My statement of the obvious was a weak attempt
to help :)

gls858
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top