Skip to content
Snippets Groups Projects
Commit 382da403 authored by Kevin Lyda's avatar Kevin Lyda :speech_balloon:
Browse files

Update readme.

parent 5bfd1c15
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ more detail.
### Dependencies
The shell snippets assume zsh (the `**/*.ext` idiom gets used a lot).
Need a `gcc` toolchain. Need the `unzip` and `zoo` utilities.
Need a `gcc` toolchain. Need the `unzip`, `unar` and `zoo` utilities.
### File conversions
......@@ -83,7 +83,7 @@ Some files are in VMS record formats. These are handled by
I think these are mail archives. Might need a script to turn those
into mbox files.
### .zoo and .zip files
### Unpacking archives.
Within the zip files there are sometimes other archive files.
These had to be extracted.
......@@ -92,7 +92,7 @@ For .zoo files:
```
for f in **/*.zoo; do
(cd ${f%\/*} && zoo -extract ${f##*\/} && git rm ${f##*\/});
(cd ${f%\/*} && zoo -extract ${f##*\/} && rm ${f##*\/});
done
```
......@@ -100,7 +100,15 @@ For .zip files:
```
for f in **/*.zip; do
(cd ${f%\/*} && unzip ${f##*\/} && git rm ${f##*\/});
(cd ${f%\/*} && unzip ${f##*\/} && rm ${f##*\/});
done
```
For .lzh files:
```
for f in **/*.lzh; do
(cd ${f%\/*} && unar ${f##*\/} && rm ${f##*\/});
done
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment