sort-PhotorecRecoveredFiles/readme.md

18 lines
1.2 KiB
Markdown
Raw Normal View History

2015-09-18 20:12:33 +02:00
# Sort files recoverd by Photorec
2015-09-18 20:15:47 +02:00
Photorec does a great job when recovering deleted files. But the result is a huge, unsorted, unnamed amount of files. Especially for external hard drives serving as backup of all the personal data, sortig them is an endless job.
2015-09-18 20:12:33 +02:00
2015-11-29 14:39:04 +01:00
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.
2015-09-18 20:12:33 +02:00
## Usage
```python recovery.py <path to files recovered by Photorec> <destination>```
2015-11-29 14:39:04 +01:00
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.
2015-09-18 20:12:33 +02:00
## Adjust event distance
2015-11-29 14:39:04 +01:00
For the case you want to reduce or increase the timespan between events, simply adjust the variable ```minEventDelta``` in ```jpgHelper.py```. This variable contains the delta between events in seconds.