From b9b813f79fbaa60c5e64c9e04845dd21432a9c9b Mon Sep 17 00:00:00 2001 From: Kevin Lyda <kevin@ie.suberic.net> Date: Sat, 30 Jan 2016 12:57:20 +0000 Subject: [PATCH] More discussion in the README. --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 922499c..eb3bef7 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,11 @@ make the repo. A number of things had to be done to get them ready for a proper historical source code archive. The commit logs for this repo cover those steps, but to explain in a bit 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. + ### File conversions Some files are in VMS record formats. These are handled by @@ -74,6 +79,26 @@ into mbox files. Within the zip files there are sometimes other archive files. These had to be extracted. +For .zoo files: + +``` +for f in **/*.zoo; do + (cd ${f%\/*} && zoo -extract ${f##*\/} && git rm ${f##*\/}); +done +``` + +For .zip files: + +``` +for f in **/*.zip; do + (cd ${f%\/*} && unzip ${f##*\/} && git rm ${f##*\/}); +done +``` + +### General cleanup + + * Removed exe and obj files: `git rm **/*.{exe,obj}` + ### Committing to the BULLETIN git repo To get the right dates and authors in git, need to tweak these environment -- GitLab