Here’s a one-liner that converts jarch files to starch format, stripping the input file’s extension so that it can be replaced with a new one: $ for i in `ls *.jarch`; do echo “${i%.*}.starch”; gchr $i | starch – > “${i%.*}.starch”; done
Tag Archives: starch
Hex words are magic
I plan to use a magic number in the second major release of our BEDOPS suite to uniquely identify starch-formatted archive files. Looking at the first few bytes of the archive will help us because I plan to move the metadata to the back of the archive file, and it would be expensive to seek […]