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
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ Analogous to the various *deep commands (md5deep, hashdeep...) this tool serves
4
4
5
5
This tool will generate one parity file (plus a file for the recovery blocks) per file that you protect. This makes it simple to move files if you change your mind on how your file tree must be organized. Just move the `par2` files along.
6
6
7
+
On Windows and Linux 64bit platforms, a compiled [libpar2](https://github.com/brenthuisman/libpar2) is provided and no external `par2` required.
8
+
7
9
## Motivation
8
10
9
11
I chose to use the old but well tested and well known `par2` program to base this tool on, instead of similar tools such as `zfec`, `rsbep` or something like `pyFileFixity`. Some recent forks of `par2` have added recursive scanning abilities, but they're generally not cross-platform. They also do not offer an interactive way of diagnosing (parts of) your file tree, and different problem handling for different areas of your file tree.
@@ -12,22 +14,24 @@ I use `par2deep` to secure my photos and music across drives, machines and opera
12
14
13
15
## Install
14
16
15
-
You can now use pip! Make sure to update pip before installation (PyQt5 won't install without a recent pip).
17
+
You can now use pip! Make sure to update pip before installation (PyQt5 won't install without a recent pip). On Windows, you make have to run `python` for `python3` and `pip` for `pip3`.
16
18
17
-
$ pip(3) install -U pip
18
-
$ pip(3) install par2deep --user
19
+
$ pip3 install -U pip
20
+
$ pip3 install par2deep --user
19
21
20
22
Or clone/download this repo and install manually with:
21
23
22
-
$ python(3) setup.py install --user
24
+
$ python3 setup.py install --user
23
25
24
26
Or run directly with:
25
27
26
-
$ python(3) par2deep
28
+
$ python3 par2deep
27
29
28
30
Alternatively, if you have installed the `cx_Freeze` package, you can generate an msi package for Windows. Adapt `setup_cx.py` to suit your needs (include the `par2` executable and, most importantly, the icon of your choice) and then build the `.msi` file in `/dist`:
29
31
30
-
$ python setup_cx.py bdist_msi
32
+
$ python3 setup_cx.py bdist_msi
33
+
34
+
Note this has not been tested since v1.0.5!
31
35
32
36
## Usage
33
37
@@ -47,10 +51,11 @@ Example `par2deep.ini`:
47
51
* configargparse
48
52
* Send2Trash
49
53
* PyQt5
50
-
*`par2` in path or specify a tool with the same interface.
54
+
*Optional, if you are not on Windows or Linux 64bit, `par2` in path or specify with `par_cmd`.
51
55
52
56
### Changelog
53
57
58
+
* 2020-04-26: Include libpar2 for win64 and lin64 platforms, no external `par2` needed anymore.
54
59
* 2020-04-20: recreate verified_repairable creates backup. backups are shows upon init. orphans are shown upon init.
55
60
* 2020-04-16: v1.9.3: Packaging still is a pain!
56
61
* 2020-04-16: v1.9.0: GUI rewritten in with Qt (PyQt5). Open Issues should be solved for 2.0.0 release.
0 commit comments