You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pdf2txt/alpine/README.md
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,16 @@
2
2
3
3
[](https://imagelayers.io/?images=bwits/pdf2txt:latest'Get your own badge on imagelayers.io')
4
4
5
-
Suppose you have a pdf file named `sample.pdf` in your current folder.
5
+
1, Suppose you have a pdf file named `sample.pdf` in ~/app folder.
6
6
```
7
-
docker pull bwits/pdf2txt
8
-
docker run -ti --rm -v $(pwd):/app pdf2txt /app/sample.pdf > sample.txt
7
+
$ docker pull bwits/pdf2txt
8
+
$ alias pdf2txt="docker run -ti --rm -v ~/app:/app pdf2txt"
9
+
$ pdf2txt sample.pdf > sample.txt
9
10
```
10
-
You will get the txt file named `sample.txt` in your current folder.
11
+
You will get the txt file named `sample.txt` in ~/app folder.
11
12
13
+
2, You can directly run below command to convert the pdf file in current foler.
0 commit comments