Update 2022-12-09 17:23 OpenBSD/amd64
This commit is contained in:
parent
2f0e22e162
commit
a623323283
@ -11,16 +11,18 @@ then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pkill -f /usr/local/bin/pdfarranger
|
|
||||||
|
|
||||||
pdfarranger "_incoming/${_doc}" > /dev/null 2>&1 &
|
pdfarranger "_incoming/${_doc}" > /dev/null 2>&1 &
|
||||||
echo "Here is: ${_doc}"
|
echo "Here is: ${_doc}"
|
||||||
echo "Shall we move it to _done?"
|
echo "Shall we move it to _done? [y = yes, yn = yes and next]"
|
||||||
read key
|
read key
|
||||||
|
|
||||||
|
again=0
|
||||||
case $key in
|
case $key in
|
||||||
[yY]) mv "_incoming/${_doc}" done/; ;;
|
[yY]) mv "_incoming/${_doc}" done/; ;;
|
||||||
[yY][nN]) mv "_incoming/${_doc}" done/; $0; ;;
|
[yY][nN]) mv "_incoming/${_doc}" done/; again=1; ;;
|
||||||
*) echo "What a shame..."; ;;
|
*) echo "What a shame..."; ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
pkill -f /usr/local/bin/pdfarranger
|
||||||
|
|
||||||
|
[ $again -eq 1 ] && $0
|
||||||
|
Loading…
Reference in New Issue
Block a user