mirror of
https://github.com/novoid/guess-filename.py.git
synced 2026-02-16 13:24:15 +00:00
15 lines
335 B
Bash
Executable file
15 lines
335 B
Bash
Executable file
#!/bin/sh
|
|
|
|
myexit() {
|
|
echo "./guessfilename_test.sh returned ERROR(S). Please do test and try again."
|
|
exit 1
|
|
}
|
|
|
|
## run unit tests beforehand but dump output:
|
|
./guessfilename_test.sh >/dev/null 2>&1 || myexit()
|
|
|
|
echo
|
|
|
|
./guessfilename.py -d testdata/2016-02-24\ A1\ Rechnung\ 02-2016\ -\ 12,12\ EUR\ --\ scan\ finance.pdf
|
|
|
|
##end
|