ZTree.com  | ZEN  | About...  

 Index   Back

More tests   [Discuss]

By: Slobodan Vujnovic   Homepage   France  
Date: Oct 02,2013 at 21:07
In Response to: [Discuss] Auto-deleting "empty" archives (Slobodan Vujnovic)

I did some more testing inside Alt+F5:

1. No dirs. If there is a single file and it's deleted, the .ZIP file is also deleted.

2. No dirs. If there are 2 or more files and they are Ctrl+Deleted, the .ZIP file is
declared "empty", but not deleted. Files can then be added to this empty archive.

[Opening and empty archive with Alt+F5 and hitting Delete allows deleting it!
This is because Viewer is invoked, actually. This is exactly the same as hitting
View on such a file. A clever, but unexpected, fallback :-) ]

3. Dirs exist. After Ctrl+Deleting in Branch mode, the .ZIP is not deleted and the
dirs are preserved.

However, in some cases the .ZIP is deleted, despite the presence of dirs! At
first I noticed that in some archives there were no files in the root, but
later tests showed that this is not the cause.

So, I can't determine reliably when an archive file (with dirs) will be deleted from
disk after all of its files have been deleted. What's the rule Kim?

1,026 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 56 users online (0 registered, 56 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 2:16 pm UTC  |  Hits:62,369,879  (22,276 Today )
RSS Feed