From 68c8da379813d8de5150e92e6248abcad40ba5fd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 5 Feb 2012 10:01:46 -0500 Subject: [PATCH] Add scanletter alias to .bashrc.d/10aliases. This makes it easy for me to scan letter-size pages: $ scanletter > scan.tiff It's based on `scanimage` (media-gfx/sane-backends) on Gentoo, which uses the epson2 sane backend and the iscan gt f720 plugin for my Epson V300. To emerge on Gentoo, add SANE_BACKENDS="epson2" to your `/etc/make.conf`, and emerge `media-gfx/xsane` and `media-gfx/iscan-plugin-gt-f720`. You may not need all of xsane for this alias, but it's nice to have for scanning strangely shaped objects. --- src/.bashrc.d/10aliases | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.bashrc.d/10aliases b/src/.bashrc.d/10aliases index 0336d3d..e070ebe 100644 --- a/src/.bashrc.d/10aliases +++ b/src/.bashrc.d/10aliases @@ -21,6 +21,7 @@ alias findex='find . -perm -u+x ! -type d' alias sortdat='find . -printf "%TY-%Tm-%Td+%TH:%TM:%TS %h/%f\n" | sort -n' alias sortdirdat='find . -type d -printf "%TY-%Tm-%Td+%TH:%TM:%TS %h/%f\n" | sort -n' alias pythonhttp='python -m SimpleHTTPServer 8000' +alias scanletter='scanimage -d 'epkowa:interpreter:001:003' --quick-format Letter --format=tiff' # enable color support of ls and also add handy aliases if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then -- 2.26.2