From: W. Trevor King Date: Sun, 5 Feb 2012 15:01:46 +0000 (-0500) Subject: Add scanletter alias to .bashrc.d/10aliases. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=68c8da379813d8de5150e92e6248abcad40ba5fd;p=dotfiles-public.git 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. --- 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