Simple bash script : scan and convert the image in JPG format.

I use to Linux commands: scanimage and convert.

We can see the script below:

Write the script in a text file. Named the script with this name scan.sh.

Run this :

The output will be:

You can use any name for the output. As we see in this example I used firstscan.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.