bernmic / ocrmypdf-watchdog

A watchdog for OCRMyPDF written in go
GNU General Public License v3.0
10 stars 6 forks source link

Safe renaming at destination if file exists #1

Closed mrmadcow closed 4 years ago

mrmadcow commented 4 years ago

On the final rename to destination folder, existing files will be overwritten without warning. A safer behavior would be to append a suffix to the new file in that case to avoid loss of data.

skl283 commented 4 years ago

Could you please push these Changes to hub.docker.com? Last Update on hub.docker.com is a year ago and this fix is merged on jan 2020.

thank you!

bernmic commented 4 years ago

Done