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 |
|---|---|---|---|---|
| 7 | 1.0 | 2017-02-21 10:51 | Jean-François BELLANGER | |
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.