Skip to content

Commit f9b59ef

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 0523e3a + f377f76 commit f9b59ef

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,24 @@ Make sure you have `wget` installed.
4545
```shell
4646
➜ sudo bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install)"
4747

48-
# Using a proxy
48+
# If using a proxy
4949
➜ sudo proxychains bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install)"
5050

5151
# Script options
52-
-d [DIR] install binary into a specified directory
53-
-w install without creating a soft-link to /usr/local/bin/
52+
#
53+
# -d [DIR] install binary into a specified directory
54+
# -w install without creating a soft-link to /usr/local/bin/
5455

55-
# Examples with options
56-
➜ sudo bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install) -d ~/my-bins/"
57-
➜ sudo bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install) -w"
58-
➜ sudo bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install) -d ~/my-bins/ -w"
59-
➜ sudo proxychains bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install) -d ~/my-bins/"
60-
➜ sudo proxychains bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install) -w"
61-
➜ sudo proxychains bash -c "$(curl -s https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install) -d ~/my-bins/ -w"
56+
# If install with options, download the script first
57+
➜ wget https://raw.githubusercontent.com/hwding/pdf-unstamper/master/script/install
58+
59+
# Then execute with or without proxy
60+
➜ sudo bash install -d ~/my-bins/
61+
➜ sudo bash install -w
62+
➜ sudo bash install -d ~/my-bins/ -w
63+
➜ sudo proxychains bash install -d ~/my-bins/
64+
➜ sudo proxychains bash install -w
65+
➜ sudo proxychains bash install -d ~/my-bins/ -w
6266
```
6367
#### Run
6468
```shell
@@ -81,10 +85,10 @@ Get [*pdf-unstamper.jar*](https://github.com/hwding/pdf-unstamper/releases).
8185
#### Run
8286
```shell
8387
# For single file processing
84-
➜ java -jar pdf-unstamper.jar -i "C Recipes.pdf" -o "C Recipes.unstamped.pdf" -k www.allitebooks.com
88+
➜ java -jar pdf-unstamper.jar -i "C Recipes.pdf" -o "C Recipes.unstamped.pdf" -k www.allitebooks.com -s
8589
➜ java -jar pdf-unstamper.jar -i RoR.pdf -o RoR.unstamped.pdf -k 图灵社区会员
8690
# Or
87-
➜ java -jar pdf-unstamper.jar -i "C Recipes.pdf" -d -k www.allitebooks.com
91+
➜ java -jar pdf-unstamper.jar -i "C Recipes.pdf" -d -k www.allitebooks.com -s
8892
➜ java -jar pdf-unstamper.jar -i RoR.pdf -d -k 图灵社区会员
8993

9094
# For massive files processing

0 commit comments

Comments
 (0)