thinkpad-ec/scripts/xx30.encrypt

28 lines
392 B
Plaintext
Raw Normal View History

#!/bin/bash
#
# Quick and dirty encryptor
2016-04-23 04:02:28 +00:00
# Copyright (C) 2016 Hamish Coleman
#
# TODO:
# - a tool that is portable to Windows
# - should output dependency information
INP="$1"
if [ -z "$INP" ]; then
echo Need input filename
exit 1
fi
shift
OUT="$1"
if [ -z "$OUT" ]; then
echo Need output filename
exit 1
fi
shift
set -x
cd mec-tools && ./mec_repack "../$INP" "../$OUT"