olefs

command line tools to extract data from OLE documents like doc, ppt, xls, msg
git clone https://logand.com/git/olefs.git/
Log | Files | Refs

commit 8925af9af2a2f65141fa80022bda3ffd1136f8a0
parent 9ec0f1ef921be0d45da08ac4af144ecf3dee9271
Author: Tomas Hlavaty <tom@logand.com>
Date:   Sun, 29 May 2011 16:31:26 +0200

nopoint script added

Diffstat:
Anopoint | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/nopoint b/nopoint @@ -0,0 +1,16 @@ +#!/bin/sh +FILE=$1 +#file $FILE | grep CDF +DIR1=$(mktemp -d -q /tmp/nopoint-XXXXXX) +DIR2=$(mktemp -d -q /tmp/nopoint-XXXXXX) +export DIR2 +TMP=$(mktemp -q /tmp/nopoint-XXXXXX) +rm $TMP +HTML=$TMP.html +echo '<pre>' >$HTML +echo "$FILE" >>$HTML +~/bin/cfbfs "$FILE" $DIR1 2>&1 >>$HTML +~/bin/odrawfs "$DIR1/Root Entry/Pictures" $DIR2 2>&1 >>$HTML +echo '</pre>' >>$HTML +ls -v1 $DIR2 | awk '{print "<p><img src=\"" ENVIRON["DIR2"] "/" $0 "\"><p>" $0}' >>$HTML +firefox $HTML