Thanks for that Enrico. I used the "built-in" capability of Windows 10
so it seems to be specific to that implementation. Of course putting a
"info" file in each directory would have been another solution.
Gil B.
On 3/2/2020 8:24 AM, Enrico Sorichetti via Oorexx-devel wrote:
Now to the specific items in the order you listed them. The
issue with the "missing folders" is one I ran into as well. It
comes from the fact that I was not able to include empty folders
in the zip file and so had to create them the first time they
were needed. I chose to do that in the docprep step when all the
other "housekeeping" is done. Since you (and I) had already run
docprep with the previous version, the "housekeeping section"
had already run so the folders were not created. This should
only be a problem for you, P.O. and I (or anyone else with v1)
that had run version 1 of the package.??
Hi all
For what is worth :-)
I just run a quick and dirty experiment
Created a directory hierarchy
Cd somewhere …
[enrico@enrico-imac ~]$mkdir z
[enrico@enrico-imac ~]$cd z
[enrico@enrico-imac z]$mkdir -p a/{b1,b2}
[enrico@enrico-imac z]$cd a
[enrico@enrico-imac a]$ll
total 0
drwxrwxr-x 2 enrico staff 64B Feb 29 17:30 b1
drwxrwxr-x 2 enrico staff 64B Feb 29 17:30 b2
[enrico@enrico-imac a]$cd ..
[enrico@enrico-imac z]$zip -r z.zip .
adding: a/ (stored 0%)
adding: a/b2/ (stored 0%)
adding: a/b1/ (stored 0%)
[enrico@enrico-imac z]$unzip -v z
Archive: z.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
0 Stored 0 0% 02-29-2020 17:30 00000000 a/
0 Stored 0 0% 02-29-2020 17:30 00000000 a/b2/
0 Stored 0 0% 02-29-2020 17:30 00000000 a/b1/
-------- ------- --- -------
0 0 0% 3 files
And …
When unzipping the empty directories are there
Guess it depends on the zip program being used
Cheers
Enrico
The behaviour is the same on Fedora and FreeBSD
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
--
Gil Barmwater
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel