feat: move ~/bin to ~/.local/bin
This commit is contained in:
parent
a65adc368b
commit
b3b3435a9e
14 changed files with 7 additions and 7 deletions
17
bin/scanpdf
17
bin/scanpdf
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
usage() {
|
||||
echo "USAGE: $0 FILE.pdf"
|
||||
exit 0
|
||||
}
|
||||
|
||||
if [ "$1" == '-h' ] || [[ "$1" != *.pdf ]]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
DEVICE='pixma:04A9178A_31A16C'
|
||||
FORMAT='png'
|
||||
RES=300
|
||||
|
||||
scanimage -d "$DEVICE" --format="$FORMAT" --resolution "$RES" | convert - "$1"
|
Loading…
Add table
Add a link
Reference in a new issue