ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] Esc while Alt-Mirror NOT delete all target files   [ZEP]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Jun 20,2018 at 06:19
In Response to: [ZEP] Esc while Alt-Mirror NOT delete all target files (Laurent Duchastel)

> I often use Alt-Mirror (One Way) to sync directories.
>
> I noticed that if I interrupt an in-progress sync by pressing "Esc",
> ZTree doesn't interrupt at once, but stop syncing and start deleting
> *every* target files.
>
> I discovered this as I wanted to interrupt quite a long mirroring
> operation on a huge directory and continue later. I had to kill ZTree
> instance to stop it deleting everything on target file.
>
> While deleting non-matching target files is inherent to
> one-way-mirroring, Esc should not allow ZTree continue, but stop at once.

It sounds like ZTreeWin treats one-way Mirror as two separate steps:
1. copy all unique and different files,
2. delete all files unique to the target dir.

and ESC only cancels the first step.

IMHO, this should be classified as bug, not ZEP; it’s not the expected result of pressing [Esc]ape: in the UI, Alt-Mirror is treated as a single operation, so pressing [Esc]ape should cancel the entire operation, not just the first part of it.


--
Martijn

203 views      
Thread locked
 

Messages in this Thread

 
94,570 Postings in 11,930 Threads, 348 registered users, 9 users online (1 registered, 8 guests)
Index | Admin contact |   Forum Time: Nov 12, 2019 - 1:58 am EST  |  Hits:29,071,713  (888 Today )
RSS Feed