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: README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# D2F2 2.0.2
1
+
# D2F2 2.0.3
2
2
3
3
D2F2 (formerly _DIRtoPDF_) is a tool written in Python to convert image folders into files.
4
4
@@ -14,6 +14,8 @@ or use one of the standalone versions (see below).
14
14
15
15
## Usage
16
16
17
+
Please note: ``d2f2`` and ``D2F2`` are interchangeable.
18
+
17
19
### Operation modes
18
20
19
21
D2F2 offers two modes of operation: "single" and "batch".
@@ -23,23 +25,23 @@ D2F2 offers two modes of operation: "single" and "batch".
23
25
The standard mode, converts each given directory into a file.
24
26
25
27
```commandline
26
-
D2F2 /a/path /another/path ...
28
+
d2f2 /a/path /another/path ...
27
29
```
28
30
29
31
#### Batch mode
30
32
31
33
Useful for converting big batches of folders, this mode converts each subdirectory within the given directories into a file. To use it, add the ``-B``/``--batch`` option to the command:
32
34
33
35
```commandline
34
-
D2F2 -B /a/path /another/path ...
36
+
d2f2 -B /a/path /another/path ...
35
37
```
36
38
37
39
### Output format
38
40
39
41
By default, D2F2 saves files in the PDF format. If you want to use another supported format, use the ``-F``/``--format`` option:
40
42
41
43
```commandline
42
-
D2F2 /a/path ... -F FORMAT
44
+
d2f2 /a/path ... -F FORMAT
43
45
```
44
46
45
47
Currently, there are 2 supported formats (with more to be added in the future). Use the appropriate format as the FORMAT parameter:
@@ -52,15 +54,15 @@ Currently, there are 2 supported formats (with more to be added in the future).
52
54
By standard, D2F2 saves files to the current directory. If you want another output path, use the ``-O``/``--output`` option:
53
55
54
56
```commandline
55
-
D2F2 /a/path ... -O /an/output/path
57
+
d2f2 /a/path ... -O /an/output/path
56
58
```
57
59
58
60
### Sorting mode
59
61
60
62
By default, D2F2 sorts the images in alphanumeric, ascending order (A-Z). If you want to use another sorting mode you can specify one by using the ``-S``/``--sort`` option:
61
63
62
64
```commandline
63
-
D2F2 /a/path ... -S MODE
65
+
d2f2 /a/path ... -S MODE
64
66
```
65
67
66
68
Currently, there are 6 sorting modes available. Use the corresponding number from the following list as the MODE parameter:
@@ -81,7 +83,7 @@ Standalone versions for the shell are available for Windows and Linux (see [Rele
81
83
You can also start the shell from the command line:
0 commit comments