I was given a task to consolidate 5 External HDDs of images to reconstruct a PACS from another system that crashed. All the drives have duplicate backup data, (and some new data) and some files are corrupt (Drive recovery attempts). I'm trying to use conquest 1.14.19d1 using either WatchFolder or MAG0/incoming to dump all .dcm files and save to mysql db with proper naming convention on MAG0. But every time it comes to a bad file, the import retries that file every 5s indefinitely until I stop the service, remove the file, and restart the service. Is there any way I can script it to move the bad file to a /bad directory to figure out later and keep processing the rest of the files?
Examples:
Nov 6 01:13:17 pacs conquest-server[12427]: ***(Dyn) Encountered an invalid group order during load of DCM file (after 00b80000)
Nov 6 01:13:17 pacs conquest-server[12427]: ***[AddImageFile] /storage/fs1/incoming/1.2.392.200036.9123.100.12.11.17025.20140815150338.3.21.dcm -FAILED: Error on Load
Thanks in advance.