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 10: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

960 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 57 users online (1 registered, 56 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 1:37 pm UTC  |  Hits:62,407,722  (22,508 Today )
RSS Feed