File: XTree:\Forum archive |Bottom_of_page

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive

Re: alt-duplicate in ztw

Posted By: Walter Rassbach <>
Date: Thursday, 2 July 1998, at 8:12 a.m.

In Response To: Re: alt-duplicate in ztw (Ken Meece)

> These do not accomplish one major aspect of "duplicating"
> (as opposed to "copying") which is to DELETE FROM THE
> TARGET any files that are not on (or are no longer on, having been
> deleted from) the source. This is the final step in truly DUPLICATING
> the source to the target. This automated function saves steps that
> are available in ZTW, which involve logging both directories, global
> view, select unique, then go to target and delete any files selected
> (they are unique because the corresponding files on the source is
> not or is no longer there). Without this automated function, the
> alt-duplicate command does not really "DUPLICATE" the
> source to the target, but just updates the target with any new or
> updated files.
>
I think this is what most people were looking for, a fast copy and directory
tree duplicator, not a tree synchronization function. If you want to
synchronize two trees, there are already tools out there which automate it
and, in ZTree, one can always do a PRUNE of the target and then an
alt-Duplicate of the source -- This is safer anyway since there are always
those programs that DON'T UPDATE the file date/time or even roll it back
(see, for example some of the options of PKZip, WinZip, etc. or look at what
windows does with some of its cache files...) -- If I'm going to take a
snapshot for backup purposes, I ALWAYS take the time to do it right and be
sure that it is a completely synchronized copy (and yes, I do it a LOT...
when you develop drivers and install scripts you NEVER run without at least
two other copies of the operating system ready to boot...). Although I may
not use alt-Duplicate much without targetting a NEW branch, I would certainly
never use it here against an existing tree if it deleted files at the target.

Rather than trying to get alt-Duplicate modified to do what you want, why not
propose a NEW function, maybe called alt-Synchronize, which does what you are
looking for, post it, and see if enough people want it to bug (sorry Kim :-)
Kim into implementing it... However, rather than a completely automated
function serving a narrow purpose, why not see if it can be made into
something with a braoder application, maybe a special marking/tagging function
across a split screen much like alt-Compare, and another function which
deletes tagged files on one side of an F8-split and copies tagged files from
the other side over to the first...

Messages in This Thread

| View Thread | Return to Index | Read Prev Msg | Read Next Msg |

XTree Forum archive is maintained by Mathias Winkler with WebBBS 3.21.

 
---<>---
 
Xtree and XtreeGold are registered trademarks of Symantec Inc.
Other brands and products are trademarks of their respective holders.


FILE COMMANDS:  Directory_view Previous_file   Next_file cuRrent   /Help |Top_of_page