fix: .local/bin -> bin to avoid user pkg managers
This commit is contained in:
parent
87549c183f
commit
8f364ce723
8 changed files with 1 additions and 1 deletions
17
bin/scanpdf
Executable file
17
bin/scanpdf
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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