| 1 |
A repository which contains various small tools; ok, in fact, only two |
| 2 |
tools :-) |
| 3 |
|
| 4 |
- mwawFile: |
| 5 |
a small tool which tries to find the type of a file first by |
| 6 |
looking to the finder information, then in the ressource fork for |
| 7 |
strings -16396, -16397 : application missing name or missing |
| 8 |
message and finally looking for a signature in the application |
| 9 |
datafork... |
| 10 |
|
| 11 |
Note: it first uses attributes to find finder information and |
| 12 |
resource data ; if it finds none, it looks for a file ._filename |
| 13 |
or __MACOSX/._filename ; if not, it looks for a file FINDER.DAT |
| 14 |
and a RESOURCE.FRK directory. |
| 15 |
|
| 16 |
- mwawZip: |
| 17 |
a small tool which tries to zip a file and it attributes to obtain |
| 18 |
a file which can be used as input of mwaw2odf, mwaw2html, ... : an |
| 19 |
equivalent of the Finder compress function. |
| 20 |
|
| 21 |
More precisely, when zipping a file <<filename>>, it includes the |
| 22 |
file datafork and looks for attributes ( either using |
| 23 |
FINDER.DAT/RESOURCE.FRK or getxattr or in a file ._filename or |
| 24 |
__MACOSX/._filename ). If so, it includes them in the result file. |
| 25 |
|
| 26 |
Notes: |
| 27 |
- in order to avoid mistakes, it stops if the resulting zip |
| 28 |
file already exists. |
| 29 |
- only one file can be zipped, ... . |