Skip to content

Commit 8e4c2a7

Browse files
committed
put commands for usage under the usage headline
added some hints for the output of the programm
1 parent 38b70c8 commit 8e4c2a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@ Photorec does a great job when recovering deleted files. But the result is a hug
44

55
This program helps you sorting your files. First of all, the **files are copied to own folders for each file type**. Second, **jpgs are distinguished by the year** when they have been taken **and by the event**. We thereby define an event as a time span during them photos are taken. It has a delta of 4 days without a photo to another event. If no date from the past can be detected, these jpgs are put into one folder to be sorted manually.
66

7-
All directories contain maximum 500 files. If one contains more, numbered subdirectories are created. If you want another file-limit, e.g. 1000, just put that number as third parameter to the execution of the programm: ```python recovery.py <path to files recovered by Photorec> <destination> 1000```
8-
97

108
## Usage
119

1210
```python recovery.py <path to files recovered by Photorec> <destination>```
1311

1412
This copies the recovered file to their file type folder in the destination directory. The recovered files are not modified. If a file already exists in the destination directory, it is skipped. Hence you can interrupt the process with Ctrl+C and continue afterwards.
1513

14+
The first output of the programm is the number of files to copy. To count them might take some minutes depending on the amount of recovered files. Afterwareds you get some feedback every ~2000 processed files.
15+
16+
All directories contain maximum 500 files. If one contains more, numbered subdirectories are created. If you want another file-limit, e.g. 1000, just put that number as third parameter to the execution of the programm:
17+
18+
```python recovery.py <path to files recovered by Photorec> <destination> 1000```
19+
1620

1721
## Adjust event distance
1822

0 commit comments

Comments
 (0)