Emty folder deletion in SynchDirs for ZIPs
Moderators: Hacker, petermad, Stefan2, white
Emty folder deletion in SynchDirs for ZIPs
From russian forum.
1. Create following file & directory structure:
a) for left panel
c:\zzz\Dir1\file0.ext
c:\zzz\Dir2\file1.ext
b) for right panel make a zip archive zzz.zip of "zzz" dir, you'll have:
d:\zzz.zip\zzz\Dir1\file0.ext
d:\zzz.zip\zzz\Dir2\file1.ext
2. Create dir:
d:\zzz.zip\zzz\Dir3
3. Start SyncDirs with c:\zzz\ in left panel and d:\zzz.zip\zzz\ in right.
4. Mark [x]Empty dirs checkbox and enter |* as compare mask. Then press "Compare" button.
5. In compare results, select (with mouse) Dir3,
call its context menu and select "->Delete right".
Unexpected result: Dir3 folder won't get removed.
If you'll compare c:\zzz and d:\zzz.zip\ (not d:\zzz.zip\zzz\) in 3rd step, Dir3 removed correctly in 5th step.
1. Create following file & directory structure:
a) for left panel
c:\zzz\Dir1\file0.ext
c:\zzz\Dir2\file1.ext
b) for right panel make a zip archive zzz.zip of "zzz" dir, you'll have:
d:\zzz.zip\zzz\Dir1\file0.ext
d:\zzz.zip\zzz\Dir2\file1.ext
2. Create dir:
d:\zzz.zip\zzz\Dir3
3. Start SyncDirs with c:\zzz\ in left panel and d:\zzz.zip\zzz\ in right.
4. Mark [x]Empty dirs checkbox and enter |* as compare mask. Then press "Compare" button.
5. In compare results, select (with mouse) Dir3,
call its context menu and select "->Delete right".
Unexpected result: Dir3 folder won't get removed.
If you'll compare c:\zzz and d:\zzz.zip\ (not d:\zzz.zip\zzz\) in 3rd step, Dir3 removed correctly in 5th step.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Strange, I will check that. Maybe it's not possible, depending on how the directory is stored.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can confirm the error, it happens only when you start the comparison in a subdiretory of the zip.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
The original bug is fixed, but appeared new one:
copy or move d:\zzz.zip\zzz\Dir3 to one level up (d:\zzz.zip\Dir3), and start comparing from d:\zzz.zip\ in right panel.
Deleting the dir d:\zzz.zip\Dir3 from Comparing results will fail.
copy or move d:\zzz.zip\zzz\Dir3 to one level up (d:\zzz.zip\Dir3), and start comparing from d:\zzz.zip\ in right panel.
Deleting the dir d:\zzz.zip\Dir3 from Comparing results will fail.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for confirming the fix! Sorry, I don't understand your second report. If you compare
c:\zzz
with
d:\zzz.zip\
There will be a directory "Dir3" on both side, which TC doesn't even show. Please send me detailed instructions to reproduce your problem,
c:\zzz
with
d:\zzz.zip\
There will be a directory "Dir3" on both side, which TC doesn't even show. Please send me detailed instructions to reproduce your problem,
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Dir3 is available only in archive on right side.ghisler(Author) wrote:There will be a directory "Dir3" on both side
Screenshot: [IMG=http://img532.imageshack.us/img532/1791/tcsyncbug.jpg][/IMG]
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Strange, I will check that. Since it's in the root, there should be no problem...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: