ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Laurent Duchastel     Montréal, Québec  
Date: Jun 19,2018 at 00:14
In Response to: [ZEP] Esc while Alt-Mirror NOT delete all target files (Peter Shute)

> > 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.
> Are you saying that if you press Esc then Y, it deletes all the files
> it's copied so far? I just gave it a try, and that didn't happen. I'm
> running v2.4.172.

No, you're right it doesn't delete all files.
I checked and my first assertion was wrong.

What Esc does however is to allows to delete every non-matching destination files, despite when Esc is invoked.

For this to be observed, you need a large directory, otherwise ZTree is to fast. :-)

On left side, let's say you have


and on left side you have


and let's say BIGFOLDER and BIGFOLDER2 have almost the same content, but with slightly different names.

When I mirror left to right, it first copy \BIGFOLDER under DUMMY2, then delete \BIGFOLDER2. but if I Esc within the process, I'll end up with incomplete \BIGFOLDER and a deleted \BIGFOLDER2.

It may come to ugly deletion as I experienced when I interrupted a process that I mistakenly launched in the first place.

Laurent Duchastel

Thread locked

Messages in this Thread

94,426 Postings in 11,918 Threads, 348 registered users, 9 users online (0 registered, 9 guests)
Index | Admin contact |   Forum Time: Sep 18, 2019 - 1:08 am EDT  |  Hits:28,647,422  (169 Today )
RSS Feed