The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings

Snippet Library

scan.sh

Type:
Function
Category:
Unix Admin
License:
GNU General Public License
Language:
Unix Shell

Description:
Fonction de numerisation de document

Versions Of This Snippet:

Snippet ID Download Version Date Posted Author Delete
71.02017-02-21 10:51Jean-François BELLANGER Delete

Download a raw-text version of this code by clicking on “Download Version”


Latest Snippet Version: 1.0

#!/bin/bash
titre=Scanner
nom=$(zenity --entry --title $titre --text "Entrer le nom de votre fichier" --entry-text `date +`%H-%M-%S)
scanimage --format tiff > /home/public/tmp/$nom.tiff
tiff2pdf -p A4 -j -o /home/public/Bureau/Numérisation/$nom.pdf /home/public/tmp/$nom.tiff

		

Add a new version

You can submit a new version of this snippet if you have modified it and you feel it is appropriate to share with others.