bin: verbosify few scripts
This commit is contained in:
parent
284f789aa2
commit
e7b634a002
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
# Set exec flag on all files that should be executable
|
# Set exec flag on all files that should be executable
|
||||||
find -maxdepth 4 -name "*.sh" "$@" -exec chmod +x {} +
|
find -maxdepth 4 -name "*.sh" "$@" -exec chmod -v +x {} +
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
# and shows progress indications for some operations
|
# and shows progress indications for some operations
|
||||||
# optdepends: rewrite(part of my dotfiles, for unzip line rewriting) 7z p7zip unzip
|
# optdepends: rewrite(part of my dotfiles, for unzip line rewriting) 7z p7zip unzip
|
||||||
# TODO auto-delete archive, auto-extract in current dir, trim .tar.gz fully
|
# TODO auto-delete archive, auto-extract in current dir, trim .tar.gz fully
|
||||||
|
if test $# -eq 0
|
||||||
|
then ex *.zip
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
for arg do
|
for arg do
|
||||||
case $arg in
|
case $arg in
|
||||||
(-d) del=$(expr ${del:-0} + 1);;
|
(-d) del=$(expr ${del:-0} + 1);;
|
||||||
|
|
|
@ -23,6 +23,7 @@ export TEXMF=""
|
||||||
pdfjam $quiet "$signature" --outfile "$sig" --papersize "{595pt, 842pt}" --noautoscale true \
|
pdfjam $quiet "$signature" --outfile "$sig" --papersize "{595pt, 842pt}" --noautoscale true \
|
||||||
--offset "${h}pt ${v}pt" --scale "${4:-1}"
|
--offset "${h}pt ${v}pt" --scale "${4:-1}"
|
||||||
pdfjam $quiet "$1" last "$sig" --outfile "$tmp_signed" --delta "0 -842pt" --nup "1x2" --fitpaper true
|
pdfjam $quiet "$1" last "$sig" --outfile "$tmp_signed" --delta "0 -842pt" --nup "1x2" --fitpaper true
|
||||||
|
# TODO consider pdftk stamp
|
||||||
|
|
||||||
timg "$tmp_signed"
|
timg "$tmp_signed"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue