3 f1ceade9 2022-08-24 op path="$(cd $OUTDIR && mktemp parts/$MESSAGE_ID.XXXXXXXXXX)"
5 f1ceade9 2022-08-24 op # save the input
6 f1ceade9 2022-08-24 op cat > "$OUTDIR/$path"
8 f1ceade9 2022-08-24 op ftype="$(file "$OUTDIR/$path")"
9 f1ceade9 2022-08-24 op echo "<li><a href='/$path'>${ftype#*:}</a></li>" >> parts.html