Corrected the readme

This commit is contained in:
Karma Riuk 2021-05-27 16:10:15 +02:00
parent ce5a85dec4
commit ce5edfbef8

View File

@ -15,18 +15,18 @@ sudo chmod 755 /usr/local/bin/scantopdf
To use this script, follow this steps To use this script, follow this steps
1. Open a terminal 1. Open a terminal
2. Go the location of the file you want to "convert" with the following command 2. Go the location of the file you want to "convert" with the following command
``` ```
cd <path> cd <path>
``` ```
where `<path>` is the location of the **folder** where lies the file to convert. where `<path>` is the location of the **folder** where lies the file to convert.
3. Use the command `scantopdf` and give it, as an argument, the file you want to 3. Use the command `scantopdf` and give it, as an argument, the file you want to
convert. If the file name contains **spaces**, surround it with **quotes** `"` convert. If the file name contains **spaces**, surround it with **quotes** `"`
``` ```
scantopdf "I Promessi Sposi.pdf" scantopdf "I Promessi Sposi.pdf"
``` ```
Optionally you can give it the `-v` flag (before the name of the file), to make Optionally you can give it the `-v` flag (before the name of the file), to make
the script verbose, so instead of doing its job without saying anything, it will the script verbose, so instead of doing its job without saying anything, it will
print each step that it's doing. print each step that it's doing.
``` ```
scantopdf -v "La Divina Commedia.pdf" scantopdf -v "La Divina Commedia.pdf"
``` ```