:date: 2015-05-05 20:51 .. index:: tech, sane, thor, ruby, pdf .. _`2015-scanning`: Scanning ======== I scan documents. A lot. Basically all documents I get. Then I throw most of them away and only store the PDF documents. I have started this a couple of years ago and I keep onto it, since it keeps my paper-mess to an absolute minimum. After moving the PDF metadata management into a separate tool the scanning process was the last thing left on my list. Using *gscan2pdf* has brought me quite far, but the repetitive process of scanning, settings and saving the file has taking too much time now. Especially after the metadata-management has take off quite well for me. So the little script *scan* now takes the minimum of necessary arguments and stores the file. .. code:: $ scan bw output.pdf The script is written in Ruby and as usual in the git repository.